Skip to content

Commit

Permalink
[ci] Set fail-fast conditionally
Browse files Browse the repository at this point in the history
  • Loading branch information
Sploder12 committed Oct 9, 2024
1 parent ef00c56 commit a189df4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.event.number && format('pr{0}', github.event.number) || github.run_id }}
cancel-in-progress: ${{ contains('merge_group', github.event_name) }}
cancel-in-progress: ${{ github.event_name == 'merge_group' }}

jobs:
Lint:
Expand Down Expand Up @@ -73,6 +73,7 @@ jobs:

strategy:
matrix: ${{ fromJSON(needs.GetMatrix.outputs.matrix) }}
fail-fast: ${{ github.event_name == 'merge_group' }}

runs-on: ubuntu-latest

Expand Down

0 comments on commit a189df4

Please sign in to comment.