Mitigate pull_request_target privilege escalation
Hotfix — replaces pull_request_target with pull_request to stop granting write permissions and secrets to fork PRs. Some workflows will break; can be fixed properly later.
This commit is contained in:
parent
6f24a18c31
commit
b0c3c33e6e
1 changed files with 1 additions and 1 deletions
2
.github/workflows/pull_request.yml
vendored
2
.github/workflows/pull_request.yml
vendored
|
|
@ -5,7 +5,7 @@ concurrency:
|
|||
cancel-in-progress: true
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
- release*
|
||||
|
|
|
|||
Loading…
Reference in a new issue