From 63b06d67c01dc7d248f835775b3acb6ef00673c5 Mon Sep 17 00:00:00 2001 From: Kevin Gimbel Date: Fri, 10 Nov 2023 11:45:00 +0100 Subject: [PATCH] ci: change rules for when to run actions (#17) --- .github/workflows/clippy.yml | 7 ++++++- .github/workflows/test.yml | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 85c6e17..aa81c9d 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -1,4 +1,9 @@ -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + name: Clippy check jobs: clippy_check: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6524910..4a75b15 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,9 @@ -on: [push, pull_request] +on: + push: + branches: + - main + pull_request: + name: Test jobs: test: