Skip to content

Commit

Permalink
Fix CI job cancellation (#751)
Browse files Browse the repository at this point in the history
  • Loading branch information
neysofu authored and preston-evans98 committed Sep 14, 2023
1 parent 0fe24d7 commit ecae248
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
# Except in `nightly` and `stable` branches! Any cancelled job will cause the
# CI run to fail, and we want to keep a clean history for major branches.
cancel-in-progress: ${{ (github.ref == 'refs/heads/nightly') || (github.ref == 'refs/heads/stable') }}
cancel-in-progress: ${{ (github.ref != 'refs/heads/nightly') && (github.ref != 'refs/heads/stable') }}

jobs:
check:
Expand Down

0 comments on commit ecae248

Please sign in to comment.