Skip to content

Commit e757f7a

Browse files
committed
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.
1 parent 68396f8 commit e757f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/blocked.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Prevent blocked
22
on:
33
pull_request_target:
4-
types: [opened, labeled, unlabeled]
4+
types: [opened, labeled, unlabeled, synchronize]
55
jobs:
66
prevent-blocked:
77
name: Prevent blocked

0 commit comments

Comments
 (0)