From c56a44e6ab1de7e91f9316b244e9e6a2ad1496ca Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Sat, 19 Feb 2022 10:39:20 -0800 Subject: [PATCH] Don't run CI twice on my own PRs --- .github/workflows/coverage.yml | 5 ++++- .github/workflows/features.yml | 5 ++++- .github/workflows/minimal.yml | 5 ++++- .github/workflows/msrv.yml | 5 ++++- .github/workflows/style.yml | 5 ++++- .github/workflows/test.yml | 5 ++++- 6 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f0ef706..580fbac 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,4 +1,7 @@ -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: name: coverage jobs: test: diff --git a/.github/workflows/features.yml b/.github/workflows/features.yml index d5c0e02..771d5c1 100644 --- a/.github/workflows/features.yml +++ b/.github/workflows/features.yml @@ -1,4 +1,7 @@ -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: name: cargo hack jobs: check: diff --git a/.github/workflows/minimal.yml b/.github/workflows/minimal.yml index 7507c2a..7796b4f 100644 --- a/.github/workflows/minimal.yml +++ b/.github/workflows/minimal.yml @@ -1,4 +1,7 @@ -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: name: With dependencies at minimal versions jobs: test: diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index ebda112..aebe1f8 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,7 @@ -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: name: Minimum Supported Rust Version jobs: check: diff --git a/.github/workflows/style.yml b/.github/workflows/style.yml index 763b634..34c058e 100644 --- a/.github/workflows/style.yml +++ b/.github/workflows/style.yml @@ -1,4 +1,7 @@ -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: name: lint jobs: style: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e1b0b88..a82ac61 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,7 @@ -on: [push, pull_request] +on: + push: + branches: [master] + pull_request: name: cargo test jobs: test: