.github/workflows/labels.yml: set event types
opened, synchronize, reopened are the defaults for `pull_request_target`, `edited` will trigger the label action if the PRs base branch is changed.
This commit is contained in:
parent
cd016b7bbd
commit
574c4a7468
1 changed files with 1 additions and 0 deletions
1
.github/workflows/labels.yml
vendored
1
.github/workflows/labels.yml
vendored
|
@ -2,6 +2,7 @@ name: "Label PR"
|
|||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [edited, opened, synchronize, reopened]
|
||||
|
||||
jobs:
|
||||
labels:
|
||||
|
|
Loading…
Reference in a new issue