diff options
| author | Fuwn <[email protected]> | 2021-04-23 20:30:36 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-04-23 20:30:36 -0700 |
| commit | 6eee2aa1e894964a4a77cdcc707b55040f5e2802 (patch) | |
| tree | 353a15438a7cbe6c8150200f07d08d484033e56b /.github | |
| parent | fix: Just about everything (diff) | |
| download | whirl-6eee2aa1e894964a4a77cdcc707b55040f5e2802.tar.xz whirl-6eee2aa1e894964a4a77cdcc707b55040f5e2802.zip | |
repository(actions): Conditional triggering
Only run Rust action if Rust file is pushed.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c2c45e1..c9f7644 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -2,9 +2,11 @@ name: Rust ✅/ 🚫 on: push: - branches: [ develop ] + branches: [develop] + paths: "src" pull_request: - branches: [ develop ] + branches: [develop] + paths: "src" env: CARGO_TERM_COLOR: always |