mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-17 03:16:32 +00:00
parent
886da8924f
commit
032da0d17a
33
.github/workflows/MERGE_MASTER_TO_DEVELOP.yml
vendored
Normal file
33
.github/workflows/MERGE_MASTER_TO_DEVELOP.yml
vendored
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
name: MERGE_MASTER_TO_DEVELOP
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "master"
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
Merge_master_to_develop:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout develop
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: develop
|
||||||
|
fetch-depth: 0
|
||||||
|
- name: Merge master to develop and push
|
||||||
|
run: |
|
||||||
|
git config user.name github-actions
|
||||||
|
git config user.email github-actions@github.com
|
||||||
|
git merge -m 'Merge master to develop' --no-edit origin/master
|
||||||
|
git push
|
||||||
|
|
||||||
|
- name: Notify failure on Slack
|
||||||
|
if: failure()
|
||||||
|
uses: slackapi/slack-github-action@v1.15.0
|
||||||
|
with:
|
||||||
|
channel-id: ${{ secrets.SLACK_CHANNEL_ID }}
|
||||||
|
slack-message: "Automatic merge of <https://github.com/${{ github.repository }}/tree/${{ github.ref }}|${{ github.ref }}> to <https://github.com/${{ github.repository }}/tree/develop|${{ github.repository }}#develop> failed."
|
||||||
|
env:
|
||||||
|
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
|
Loading…
x
Reference in New Issue
Block a user