Skip to content

Commit 80a8f42

Browse files
committed
chore: gh action to update sync branch with upstream
1 parent 2e26d1f commit 80a8f42

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/sync-fork.yml

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

0 commit comments

Comments
 (0)