Skip to content

Commit 4f46fbc

Browse files
authored
[Action] Use pull_request_target (microsoft#6803)
We should use the pull_request_target option here so that the PR runs from the pipeline in the target rather than the PR source branch. This allows the action to run with reduced security implications.
1 parent 84c0a09 commit 4f46fbc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/pr-description-checker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: 'PR description checker'
22
on:
3-
pull_request:
3+
pull_request_target:
44
types:
55
- opened
66
- edited

0 commit comments

Comments
 (0)