Skip to content

Commit

Permalink
ci(devops): 👷 add synching of files (#4)
Browse files Browse the repository at this point in the history
## Description

Adding synching capabilities.

## Reviewer Focus

This PR needs a quick review.
  • Loading branch information
lwjohnst86 authored Sep 13, 2024
1 parent 81876a3 commit 2236053
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
group:
# All repositories
- files:
- source: .github/workflows/assign-pr-to-creator.yml
dest: .github/workflows/assign-pr-to-creator.yml
repos: |
rostools/cog-flow-intro
rostools/r-pkg-intro
rostools/r-cubed-intro
rostools/r-cubed-intermediate
rostools/r-cubed-advanced
rostools/rostools
rostools/r3
rostools/r3admin
rostools/r-cubed
rostools/r3-theme
rostools/admin
rostools/prodigenr
25 changes: 25 additions & 0 deletions .github/workflows/sync-files.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Sync files across repos
on:
push:
branches:
- main
workflow_dispatch:

jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@main

- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_PAT: ${{ secrets.SYNC_PAT }}
ASSIGNEES: lwjohnst86
IS_FINE_GRAINED: true
GIT_USERNAME: lwjohnst86
GIT_EMAIL: lwjohnst@gmail.com
COMMIT_PREFIX: "chore(sync): :hammer: "
BRANCH_PREFIX: chore

0 comments on commit 2236053

Please sign in to comment.