From 1541ac179ae9ae5b2ee4918f08cd301ec96f6cfe Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 26 Jan 2025 15:29:59 -0500 Subject: Update rust CI to not catch new branch pushes --- .github/workflows/rust.yml | 6 ++++-- .github/workflows/rust_testing.yml | 6 ++++++ 2 files changed, 10 insertions(+), 2 deletions(-) (limited to '.github') diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4c0d5012..747e152f 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -1,11 +1,13 @@ name: Rust CI -# TODO: The paths need to include all rust projects. Those exist outside the rust directory. - on: workflow_dispatch: push: + branches: + - '**' paths: + - '**.rs' + - '**.toml' - 'rust/**' pull_request: paths: diff --git a/.github/workflows/rust_testing.yml b/.github/workflows/rust_testing.yml index 05ecde75..1375d72b 100644 --- a/.github/workflows/rust_testing.yml +++ b/.github/workflows/rust_testing.yml @@ -8,12 +8,18 @@ name: Rust Testing on: workflow_dispatch: push: + branches: + - '**' paths: + - '**.rs' + - '**.toml' - 'rust/**' # Pull request target allows us to use the bn license and serial for PR's # to insure we do not leak the license the workflow is required to be approved manually. pull_request_target: paths: + - '**.rs' + - '**.toml' - 'rust/**' jobs: -- cgit v1.3.1