Skip to content

Commit 03d1de1

Browse files
authored
Add files via upload
1 parent 41329f3 commit 03d1de1

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.github/workflows/sync-fork.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: sync-fork
2+
on:
3+
schedule:
4+
- cron: '4 2 * * 4,2'
5+
workflow_dispatch:
6+
jobs:
7+
sync-fork:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
steps:
12+
- run: gh repo sync $REPOSITORY -b $BRANCH_NAME
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.SYNC_FORK_TOKEN }}
15+
REPOSITORY: ${{ github.repository }}
16+
BRANCH_NAME: ${{ github.ref_name }}

0 commit comments

Comments
 (0)