From f2940624171dbea756c58237203b3389f51ccc21 Mon Sep 17 00:00:00 2001 From: Michael Wood <32585282+michaeljwood@users.noreply.github.com> Date: Fri, 17 Jan 2025 10:37:19 -0500 Subject: [PATCH 1/2] chore(hooks): Enable linting on PRs closes #291 --- .github/workflows/linters.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index 7efa7466..afa337a4 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -1,6 +1,8 @@ name: Linters -on: [push] +on: + pull_request: + push: jobs: black: From e1c0abd4cc4d8b3d5b5d7fe803961472819a441f Mon Sep 17 00:00:00 2001 From: Michael Wood <32585282+michaeljwood@users.noreply.github.com> Date: Fri, 17 Jan 2025 11:04:42 -0500 Subject: [PATCH 2/2] chore(hooks): Restrict linters to pushes to main and PRs closes #291 --- .github/workflows/linters.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml index afa337a4..60ccf939 100644 --- a/.github/workflows/linters.yml +++ b/.github/workflows/linters.yml @@ -3,6 +3,8 @@ name: Linters on: pull_request: push: + branches: + - main jobs: black: