From e757f7af6b12f4165acadb5c9cb67aed20a67c64 Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 28 May 2025 17:00:57 -0400 Subject: [PATCH] Run the 'Prevent blocked' check whenever a PR branch is updated Because we're now requiring the 'Prevent blocked' check to pass before merging a PR, GitHub Actions now expects it to be associated with the latest Git ref of the PR's branch whenever the branch is updated. Therefore we need to re-run the workflow on the 'synchronize' event. --- .github/workflows/blocked.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/blocked.yaml b/.github/workflows/blocked.yaml index e016e707..f3c99b3e 100644 --- a/.github/workflows/blocked.yaml +++ b/.github/workflows/blocked.yaml @@ -1,7 +1,7 @@ name: Prevent blocked on: pull_request_target: - types: [opened, labeled, unlabeled] + types: [opened, labeled, unlabeled, synchronize] jobs: prevent-blocked: name: Prevent blocked