diff options
| author | Mason Reed <mason@vector35.com> | 2025-01-26 15:29:59 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2025-01-27 12:08:46 -0500 |
| commit | 1541ac179ae9ae5b2ee4918f08cd301ec96f6cfe (patch) | |
| tree | 0bcca5271196f5ad81ff5a86190391862472175d /.github | |
| parent | d059f992d23f2796e51d1633befd53a6abccf00d (diff) | |
Update rust CI to not catch new branch pushes
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/rust.yml | 6 | ||||
| -rw-r--r-- | .github/workflows/rust_testing.yml | 6 |
2 files changed, 10 insertions, 2 deletions
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: |
