Skip to content

Commit 886a104

Browse files
authored
Bring back yml necessary change types in label checkers (#114167)
There are some `on pull_request_target types` in the label checking yml files that were removed but they are actually necessary, so the labeler keeps working after for example: pushing new commits, pressing the update the branch, closing and opening the PR.
1 parent 0e5a3e4 commit 886a104

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/check-no-merge-label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ permissions:
55

66
on:
77
pull_request_target:
8-
types: [opened, reopened, labeled, unlabeled]
8+
types: [opened, edited, reopened, labeled, unlabeled, synchronize]
99
branches:
1010
- 'main'
1111
- 'release/**'

.github/workflows/check-service-labels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ permissions:
55

66
on:
77
pull_request_target:
8-
types: [opened, reopened, labeled, unlabeled]
8+
types: [opened, edited, reopened, labeled, unlabeled, synchronize]
99
branches:
1010
- 'release/**'
1111

0 commit comments

Comments
 (0)