Skip to content

Commit

Permalink
add an action to mirror main to master
Browse files Browse the repository at this point in the history
Providing backwards compatibility for renaming master to main
  • Loading branch information
tfoote committed Apr 10, 2021
1 parent 695734c commit 9d7a392
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/mirror-main-to-master.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Mirror main to master

on:
push:
branches: [ main ]

jobs:
mirror-to-master:
runs-on: ubuntu-latest
steps:
- uses: zofrex/mirror-branch@v1
with:
target-branch: master

0 comments on commit 9d7a392

Please sign in to comment.