Run the 'Prevent blocked' check whenever a PR branch is updated (#4155)

Because we're now requiring the 'Prevent blocked' check to pass before merging a PR, GitHub Actions apparently 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.
This commit is contained in:
Robin
2025-05-29 04:53:07 -04:00
committed by GitHub
parent 5b0c8b2931
commit 5ee50faff8

View File

@@ -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