Skip to content

Commit 2fecab1

Browse files
committed
Fix duplicate rustsec issue creation
When the audit runs on all 3 lockfiles at the same time a problem in multiple lockfiles can result in multiple issues being created for the same RustSec ID. Run the jobs one at a time so that issues created are seen by the next jobs and no duplicate issue is created.
1 parent bd129f4 commit 2fecab1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/audit.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
checks: write
1818
strategy:
1919
fail-fast: false
20+
# Run one at a time, otherwise parallel jobs create the same advisory issue twice.
21+
max-parallel: 1
2022
matrix:
2123
lockfile: [Cargo.lock, Cargo-minimal.lock, Cargo-recent.lock]
2224
steps:

0 commit comments

Comments
 (0)