.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
|
@ -2,6 +2,7 @@ name: "Label PR"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
|
types: [edited, opened, synchronize, reopened]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in New Issue