Skip to content

Commit a242c7d

Browse files
authored
Run global checks and validate description when label is added to PR
Currently, global check workflows do not trigger when a bot user makes a commit to the PR. This happens in flow repo quite a lot as we have some bots committing to auto fix lint issues and for dummy commits to trigger e2e runs. Since global checks do not run, the PR gets stuck and requires a manual dummy commit and running the e2e tests again. Adding a trigger for global checks on label added to manually trigger the workflow without need for a commit and running CCI tests again.
1 parent 85822a0 commit a242c7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/validate-description.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
# Do check out and run code from the pull request's head commit.
66
# It is suitable for this usecase as we are only looking at PR description.
77
pull_request_target:
8-
types: [opened, synchronize, reopened, edited]
8+
types: [opened, synchronize, reopened, edited, labeled]
99

1010
jobs:
1111
validate_description:

0 commit comments

Comments
 (0)