-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (30 loc) · 932 Bytes
/
sync-files.yml
File metadata and controls
33 lines (30 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Sync files across repos
on:
push:
branches:
- main
workflow_dispatch:
jobs:
sync:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v2
id: app-token
with:
app-id: ${{ vars.SYNC_FILES_APP_ID }}
private-key: ${{ secrets.SYNC_FILES_TOKEN }}
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Run GitHub File Sync
uses: BetaHuhn/repo-file-sync-action@v1
with:
GH_INSTALLATION_TOKEN: ${{ steps.app-token.outputs.token }}
ASSIGNEES: lwjohnst86
IS_FINE_GRAINED: true
GIT_USERNAME: github-actions[bot]
GIT_EMAIL: 41898282+github-actions[bot]@users.noreply.github.com
COMMIT_PREFIX: "chore(sync): :hammer: "
BRANCH_PREFIX: chore
TEAM_REVIEWERS: admin