Skip to content

Commit 631984f

Browse files
authored
Merge pull request #12 from devrev/codeon-patch-1
fix: validate_description to run on bot commits.
2 parents 3c685a8 + d7787cc commit 631984f

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)