From 7eee58d1496564c2e3117694a8942180ce626a03 Mon Sep 17 00:00:00 2001 From: Dane Hillard Date: Wed, 9 Feb 2022 17:59:28 -0500 Subject: [PATCH 1/2] Run Actions on pull requests from public forks --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c04cde9..ba4b7de 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,5 @@ name: Checks -on: [push] +on: [pull_request, push] jobs: lint: From 6d913f74b6ed8ddc6d6bf384d103071af952fabc Mon Sep 17 00:00:00 2001 From: Dane Hillard Date: Wed, 9 Feb 2022 18:28:42 -0500 Subject: [PATCH 2/2] Limit branches for `push` event --- .github/workflows/main.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ba4b7de..fa9c422 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,5 +1,9 @@ name: Checks -on: [pull_request, push] +on: + pull_request: + push: + branches: + - dev jobs: lint: