Skip to content

Commit 4d0535c

Browse files
committed
Add a sync fork github workflow
1 parent a39287c commit 4d0535c

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/sync-fork.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Sync fork
2+
# syncs our main branch with upstream main
3+
4+
on:
5+
# runs every monday at 6:21 UTC+0
6+
schedule:
7+
- cron: '21 6 * * MON'
8+
# allow triggers via button click
9+
workflow_dispatch:
10+
11+
jobs:
12+
sync:
13+
runs-on: ubuntu-20.04
14+
15+
steps:
16+
- uses: tgymnich/[email protected]
17+
with:
18+
pr_title: Fork updates from go-gitea/gitea main
19+
owner: go-gitea
20+
base: main
21+
head: main
22+
auto_approve: false
23+
auto_merge: true
24+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)