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 2f79896
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/sync-main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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
13 changes: 13 additions & 0 deletions .github/workflows/sync-master.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
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

0 comments on commit 2f79896

Please sign in to comment.