Skip to content

Commit

Permalink
Github action to sync master and main
Browse files Browse the repository at this point in the history
  • Loading branch information
srobotta committed Apr 25, 2024
1 parent b213d40 commit 46bb335
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/sync-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Sync main branch

on:
push:
branches:
- master

jobs:
mirror-to-main:
runs-on: ubuntu-latest
steps:
- uses: zofrex/mirror-branch@v1
with:
target-branch: main
14 changes: 14 additions & 0 deletions .github/workflows/sync-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Sync master branch

on:
push:
branches:
- main

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

0 comments on commit 46bb335

Please sign in to comment.