From c9500855fed0073dcc6f61a4049204992a7ae99f Mon Sep 17 00:00:00 2001 From: z Date: Fri, 18 Jul 2025 11:20:17 +1200 Subject: [PATCH] removed ci steps from running on main after merge --- .github/workflows/rust-clippy.yml | 14 ++------------ .github/workflows/rust-grcov.yml | 6 +++++- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index ecc3d7f4..a8a94485 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -10,13 +10,9 @@ name: rust-clippy analyze on: - push: - branches: [ "main" ] pull_request: - # The branches below must be a subset of the branches above - branches: [ "main" ] - schedule: - - cron: '44 8 * * 4' + branches: + - main jobs: rust-clippy-analyze: @@ -44,9 +40,3 @@ jobs: --all-features --message-format=json | clippy-sarif | tee rust-clippy-results.sarif | sarif-fmt continue-on-error: true - - - name: Upload analysis results to GitHub - uses: github/codeql-action/upload-sarif@v1 - with: - sarif_file: rust-clippy-results.sarif - wait-for-processing: true diff --git a/.github/workflows/rust-grcov.yml b/.github/workflows/rust-grcov.yml index 5c08edde..999c5e1e 100644 --- a/.github/workflows/rust-grcov.yml +++ b/.github/workflows/rust-grcov.yml @@ -1,4 +1,8 @@ -on: [push, pull_request] + +on: + pull_request: + branches: + - main name: Code coverage with grcov