Skip to content

Commit

Permalink
chore: add branches sync [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
abaicus committed Jul 13, 2023
1 parent f0fa393 commit a3842cd
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/sync-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches:
- 'master'
- 'development'
jobs:
sync-branch:
runs-on: ubuntu-latest
Expand All @@ -20,11 +21,11 @@ jobs:
from_branch: master
target_branch: development
github_token: ${{ secrets.BOT_TOKEN }}
- name: Merge master -> next
if: ${{ steps.retrieve-branch-name.outputs.branch_name == 'master' }}
- name: Merge development -> next
if: ${{ steps.retrieve-branch-name.outputs.branch_name == 'development' }}
uses: Codeinwp/merge-branch@master
with:
type: now
from_branch: master
from_branch: development
target_branch: next
github_token: ${{ secrets.BOT_TOKEN }}

0 comments on commit a3842cd

Please sign in to comment.