Skip to content

Commit

Permalink
Add main -> master branch sync (tensorflow#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
texasmichelle authored Dec 7, 2020
1 parent 37821ab commit 5c7706d
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/branch-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: main branch sync

on:
push:
branches:
- 'main'

jobs:
branch_sync:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Update branch
run: |
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }} HEAD:master

0 comments on commit 5c7706d

Please sign in to comment.