From 68c6a85a71884a1cdef2f324469d73c2c95e0542 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Thu, 21 Oct 2021 01:53:56 +0200 Subject: [PATCH] ci: do not run tests on master push bors already tests the *result* of merging PRs into master, and then pushes the *exact same commit* to master on success, so it's guaranteed to pass CI. No point in running everything again. This'll make other CI runs faster, since we have so many jobs that we're always running against the GHA limit of 10 concurrent jobs. --- .github/workflows/clippy.yml | 2 +- .github/workflows/fuzz.yml | 2 +- .github/workflows/rustfmt.yaml | 2 +- .github/workflows/test.yml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 5e2ec84..7aa7623 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -1,6 +1,6 @@ on: push: - branches: [ staging, trying, master ] + branches: [ staging, trying ] pull_request_target: name: Clippy check diff --git a/.github/workflows/fuzz.yml b/.github/workflows/fuzz.yml index 98046b4..281c6df 100644 --- a/.github/workflows/fuzz.yml +++ b/.github/workflows/fuzz.yml @@ -1,6 +1,6 @@ on: push: - branches: [ staging, trying, master ] + branches: [ staging, trying ] pull_request: name: Fuzz diff --git a/.github/workflows/rustfmt.yaml b/.github/workflows/rustfmt.yaml index 062306c..3d065a2 100644 --- a/.github/workflows/rustfmt.yaml +++ b/.github/workflows/rustfmt.yaml @@ -1,6 +1,6 @@ on: push: - branches: [ staging, trying, master ] + branches: [ staging, trying ] pull_request: name: Rustfmt check diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8c160ac..36e4732 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,6 +1,6 @@ on: push: - branches: [ staging, trying, master ] + branches: [ staging, trying ] pull_request: name: Test