From 89997c83af209a1c5fcd71f7d432037c6c19491f Mon Sep 17 00:00:00 2001 From: Filip Bozic <70634661+fbozic@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:33:39 +0100 Subject: [PATCH] ci(rust-binaries-release): define file paths on events --- .github/workflows/rust_binaries_release.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust_binaries_release.yml b/.github/workflows/rust_binaries_release.yml index 60c3468ae..9d5ad71f0 100644 --- a/.github/workflows/rust_binaries_release.yml +++ b/.github/workflows/rust_binaries_release.yml @@ -4,12 +4,20 @@ on: push: branches: - master - - 'releases/**' - - 'hotfix/**' + paths: + - Cargo.toml + - Cargo.lock + - 'crates/**' + - .github/workflows/rust_binaries_release.yml pull_request: types: [opened, synchronize, reopened] branches: - master + paths: + - Cargo.toml + - Cargo.lock + - 'crates/**' + - .github/workflows/rust_binaries_release.yml jobs: binary_matrix: