Skip to content

Commit df3d98c

Browse files
authored
fix(ci): Allow cancelling slow pre-commit job (#674)
Fixes slow pre-commit runs which block CI iteration on re-push. ### Changes are visible to end-users: no ### Test plan This is the test plan (CI workflow YAML still valid).
1 parent a681651 commit df3d98c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
pre-commit:
5353
runs-on: ubuntu-latest
54-
if: always()
54+
if: always() && !cancelled()
5555
steps:
5656
- uses: actions/checkout@v4
5757
with:

0 commit comments

Comments
 (0)