Skip to content

Commit 42f3a36

Browse files
committed
ci: Add auto sync
1 parent d002c7e commit 42f3a36

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/sync.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Sync Fork
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *' # every 30 minutes
6+
workflow_dispatch: # on button click
7+
8+
jobs:
9+
sync:
10+
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: tgymnich/fork-sync@v2.0
15+
with:
16+
owner: 5HT2C
17+
base: master
18+
head: master
19+
merge_method: rebase
20+
pr_title: 'bump: Sync from remote'
21+
auto_merge: true
22+
retries: 3
23+
retries_after: 5 # in minutes

0 commit comments

Comments
 (0)