Skip to content

Commit 653ba75

Browse files
committed
fix cargo audit label
1 parent d81cbaa commit 653ba75

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/check-rust.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -212,16 +212,7 @@ jobs:
212212
cargo-audit:
213213
name: cargo audit
214214
runs-on: SubtensorCI
215-
strategy:
216-
matrix:
217-
rust-branch:
218-
- stable
219-
rust-target:
220-
- x86_64-unknown-linux-gnu
221-
# - x86_64-apple-darwin
222-
os:
223-
- ubuntu-latest
224-
# - macos-latest
215+
if: ${{ github.event_name == 'push' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'audit')) }}
225216
steps:
226217
- name: Check-out repositoroy under $GITHUB_WORKSPACE
227218
uses: actions/checkout@v4

0 commit comments

Comments
 (0)