diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index d290c778..b05f8a11 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -8,6 +8,9 @@ on: jobs: build: + # only runs if: + # not a PR, PR is approved, or PR is pushed by the repo owner or a collaborator + if: not github.base_ref || github.event.review.state == 'approved' || github.event.review.author_association == 'COLLABORATOR' || github.event.review.author_association == 'OWNER' runs-on: windows-latest steps: