Skip to content

Commit 42514e3

Browse files
Trigger workflow when PR labels are changed. (#1512)
If a PR submitter forgets to add labels before opening the PR, then adds them later, the workflow does not re-run and the results don't take into account the label changes. All Submissions: * [X] Have you followed the guidelines in our Contributing document? * [X] Have you checked to ensure there aren't other open [Pull Requests](https://github.com/fastly/cli/pulls) for the same update/change? Co-authored-by: Anthony Gomez <anthony.gomez@fastly.com>
1 parent 3b5dd3b commit 42514e3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/pr_test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
- opened
55
- synchronize
66
- reopened
7+
- labeled
8+
- unlabeled
79
branches:
810
- main
911
name: Test

0 commit comments

Comments
 (0)