[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:
Chris B 2024-07-19 18:35:34 -05:00 коммит произвёл GitHub
Родитель 84c0a09557
Коммит 4f46fbc1ec
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1,6 +1,6 @@
name: 'PR description checker' name: 'PR description checker'
on: on:
pull_request: pull_request_target:
types: types:
- opened - opened
- edited - edited