aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-04-23 20:30:36 -0700
committerGitHub <[email protected]>2021-04-23 20:30:36 -0700
commit6eee2aa1e894964a4a77cdcc707b55040f5e2802 (patch)
tree353a15438a7cbe6c8150200f07d08d484033e56b /.github
parentfix: Just about everything (diff)
downloadwhirl-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.yml6
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