diff --git a/.github/workflows/merge-group.yml b/.github/workflows/merge-group.yml index e7404d5a6975..9af5cf0ebb71 100644 --- a/.github/workflows/merge-group.yml +++ b/.github/workflows/merge-group.yml @@ -29,6 +29,7 @@ jobs: # This job's only purpose is to create the target for the "Required Status Checks" branch ruleset. # It "needs" all the jobs that should block the Merge Queue. unlock: + if: github.event_name != 'pull_request' # Modify this list to add or remove jobs from required status checks. needs: - lint diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index b280e7c4dd35..936a9173e7c4 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -122,6 +122,7 @@ jobs: # This job's only purpose is to create the target for the "Required Status Checks" branch ruleset. # It "needs" all the jobs that should block merging a PR. unlock: + if: github.event_name != 'pull_request' # Modify this list to add or remove jobs from required status checks. needs: - check