Skip to content
This repository was archived by the owner on Mar 30, 2022. It is now read-only.

Commit 5c7706d

Browse files
Add main -> master branch sync (#578)
1 parent 37821ab commit 5c7706d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

Diff for: .github/workflows/branch-sync.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: main branch sync
2+
3+
on:
4+
push:
5+
branches:
6+
- 'main'
7+
8+
jobs:
9+
branch_sync:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout Code
13+
uses: actions/checkout@v2
14+
with:
15+
fetch-depth: 0
16+
17+
- name: Update branch
18+
run: |
19+
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} HEAD:master

0 commit comments

Comments
 (0)