Skip to content

Commit

Permalink
Merge pull request #250 from networkservicemesh/automerge
Browse files Browse the repository at this point in the history
Rework Automerge workflow
  • Loading branch information
denis-tingaikin authored Apr 23, 2024
2 parents a53878f + 878c00c commit 93487f9
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions .github/workflows/automerge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,8 @@ on:
workflows:
- "ci"
jobs:
automerge-on-success:
automerge:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.actor == 'nsmbot' }}
uses: networkservicemesh/.github/.github/workflows/automerge.yaml@main
secrets:
token: ${{ secrets.NSM_BOT_GITHUB_TOKEN }}

automerge-otherwise:
name: Automerge
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion != 'success' && github.actor == 'nsmbot' }}
steps:
- name: Set status 'failure'
run: |
echo Set status 'failure' for 'automerge' workflow to prevent run "update dependent repositories" or any other dependent workflows'
exit -1

0 comments on commit 93487f9

Please sign in to comment.