From b170f2484bef8ed569ee3c5c4cb5b157234b5d6c Mon Sep 17 00:00:00 2001 From: "Roger D. Winans" Date: Sun, 14 Feb 2021 10:39:07 -0500 Subject: [PATCH] Update linter.yml --- .github/workflows/linter.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 683c00a..536f4b5 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -7,11 +7,9 @@ name: Lint Code Base # on: - # Run on every push, except to main - # (Configure branch protection to require this check) - push: - branches-ignore: - - 'main' + # Run on pull request open, reopen, and synchronize + pull_request: + branches: [main] # Run when manually triggered workflow_dispatch: