diff --git a/.github/workflows/automerge.yaml b/.github/workflows/automerge.yaml index 8a54539..0313b24 100644 --- a/.github/workflows/automerge.yaml +++ b/.github/workflows/automerge.yaml @@ -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