Skip to content

Commit d7787cc

Browse files
authored
fix: validate_description to run on bot commits.
1 parent 3c685a8 commit d7787cc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/validate-description.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
name: validate description
22

33
on:
4-
pull_request:
4+
# pull_request_target is meant to run on bot commits.
5+
# Do check out and run code from the pull request's head commit.
6+
# It is suitable for this usecase as we are only looking at PR description.
7+
pull_request_target:
58
types: [opened, synchronize, reopened, edited]
69

710
jobs:

0 commit comments

Comments
 (0)