Don't cancel stable and unstable builds as well

This commit is contained in:
Mamy Ratsimbazafy 2021-01-10 15:23:02 +01:00 committed by GitHub
parent 87955f2d37
commit b13751fb53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -90,7 +90,9 @@ jobs:
- name: Cancel Previous Runs (except master/devel) - name: Cancel Previous Runs (except master/devel)
if: > if: >
steps.get_branch.outputs.branch_name != 'master' && steps.get_branch.outputs.branch_name != 'master' &&
steps.get_branch.outputs.branch_name != 'devel' steps.get_branch.outputs.branch_name != 'devel' &&
steps.get_branch.outputs.branch_name != 'stable' &&
steps.get_branch.outputs.branch_name != 'unstable'
uses: styfle/cancel-workflow-action@0.5.0 uses: styfle/cancel-workflow-action@0.5.0
with: with:
access_token: ${{ github.token }} access_token: ${{ github.token }}