Skip to content

Commit

Permalink
Avoid cancelling in progress workflows on main
Browse files Browse the repository at this point in the history
  • Loading branch information
omus committed Jan 21, 2025
1 parent e1dc256 commit 203ed34
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/integration-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ on:

concurrency:
group: integration-tests-${{ github.event_name == 'pull_request' && 'pr' || 'push' }}-${{ github.event.pull_request.head.sha || github.sha }}
cancel-in-progress: true
# Run all workflows on "main" and on tags
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

jobs:
filter-matrix:
Expand Down

0 comments on commit 203ed34

Please sign in to comment.