From b46e5c6d48ff758e4300e5b9956639668211e6d8 Mon Sep 17 00:00:00 2001 From: Kevin Gimbel Date: Thu, 9 Nov 2023 09:40:14 +0100 Subject: [PATCH] ci: change rules for when to run actions --- .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: