Skip to content

Commit 1cfcc3b

Browse files
committed
NO-JIRA: Rust+CI: Run the audit only when Cargo.toml is changed
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
1 parent 642e270 commit 1cfcc3b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/test-lang-rust-audit.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,16 @@ on:
2020
workflow_dispatch:
2121
push:
2222
branches: [ main ]
23+
paths:
24+
- .github/workflows/test-lang-rust-audit.yml
25+
- lang/rust/**/Cargo.toml
26+
- lang/rust/Cargo.lock
27+
- lang/rust/deny.toml
2328
pull_request:
2429
branches: [ main ]
2530
paths:
2631
- .github/workflows/test-lang-rust-audit.yml
27-
- lang/rust/Cargo.toml
32+
- lang/rust/**/Cargo.toml
2833
- lang/rust/Cargo.lock
2934
- lang/rust/deny.toml
3035

0 commit comments

Comments
 (0)