Skip to content

Commit

Permalink
Fix job concurrency
Browse files Browse the repository at this point in the history
- master should not be cancelled automatically
- we still use old-style 'master' instead of 'main' naming
  • Loading branch information
DrYak committed Oct 13, 2023
1 parent b256119 commit c96bb40
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run_regression_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
static_tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snakedeploy_tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
snakedeploy_tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tutorials.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
installer:
Expand Down

0 comments on commit c96bb40

Please sign in to comment.