Skip to content

Commit

Permalink
ci: update merge action to main
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku authored Dec 20, 2023
1 parent 1d4056f commit 7f4c040
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: MERGE_MASTER_TO_DEVELOP
name: MERGE_MAIN_TO_DEVELOP
on:
push:
branches:
- "master"
- "main"

jobs:
Merge_master_to_develop:
Merge_main_to_develop:
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -16,11 +16,11 @@ jobs:
with:
ref: develop
fetch-depth: 0
- name: Merge master to develop and push
- name: Merge main to develop and push
run: |
git config user.name github-actions
git config user.email [email protected]
git merge -m 'Merge master to develop' --no-edit origin/master
git merge -m 'Merge main to develop' --no-edit origin/main
git push
- name: Notify failure on Slack
Expand Down

0 comments on commit 7f4c040

Please sign in to comment.