diff --git a/.github/workflows/sync-main.yml b/.github/workflows/sync-main.yml new file mode 100644 index 0000000..a4e1fa1 --- /dev/null +++ b/.github/workflows/sync-main.yml @@ -0,0 +1,11 @@ +name: Sync main branch +on: + push: + branches: + - master +jobs: + steps: + - name: Check out branch to sync and rebase + run: | + git checkout main + git rebase master diff --git a/.github/workflows/sync-master.yml b/.github/workflows/sync-master.yml new file mode 100644 index 0000000..7140339 --- /dev/null +++ b/.github/workflows/sync-master.yml @@ -0,0 +1,11 @@ +name: Sync master branch +on: + push: + branches: + - main +jobs: + steps: + - name: Check out branch to sync and rebase + run: | + git checkout master + git rebase main