From 97fb5269db44d9e2b78b73ac7e0960326a6ff363 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Fri, 23 Apr 2021 20:30:36 +0000 Subject: repository(actions): Conditional triggering Only run Rust action if Rust file is pushed. --- .github/workflows/rust.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to '.github') 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 -- cgit v1.2.3