Skip to content

Commit 1d934b8

Browse files
authored
Create a new workflow to keep main and latest in sync. (#192)
1 parent 2b64557 commit 1d934b8

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Sync main and latest
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
jobs:
8+
sync-branches:
9+
runs-on: ubuntu-latest
10+
name: Syncing branches
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v2
14+
- name: Opening pull request
15+
id: pull
16+
uses: tretuna/[email protected]
17+
with:
18+
GITHUB_TOKEN: ${{secrets.PAT}}
19+
FROM_BRANCH: "main"
20+
TO_BRANCH: "latest"

0 commit comments

Comments
 (0)