Skip to content

Commit 6622905

Browse files
committed
add ability to skip cargo audit
1 parent d3f7013 commit 6622905

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/check-rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@ jobs:
208208

209209
- name: cargo clippy --workspace --all-targets --all-features -- -D warnings
210210
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
211-
# runs cargo audit
212211
cargo-audit:
213212
name: cargo audit
214213
runs-on: SubtensorCI
214+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cargo-audit') }}
215215
strategy:
216216
matrix:
217217
rust-branch:

0 commit comments

Comments
 (0)