[Action] Use pull_request_target (#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.
This commit is contained in:
Родитель
84c0a09557
Коммит
4f46fbc1ec
|
@ -1,6 +1,6 @@
|
|||
name: 'PR description checker'
|
||||
on:
|
||||
pull_request:
|
||||
pull_request_target:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
|
|
Загрузка…
Ссылка в новой задаче