Skip to content

Commit

Permalink
Update cherry-picker to use pull_request_target (pantsbuild#19048)
Browse files Browse the repository at this point in the history
Otherwise we can't see secrets and have failures.
  • Loading branch information
thejcannon authored May 19, 2023
1 parent 4c708a0 commit 9d29b3d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/auto-cherry-picker.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: Auto Cherry-Picker

on:
pull_request:
types:
- closed
branches:
- main
# NB: This is safe since we already have merged the PR.
# See https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
pull_request_target:
types: [closed]
branches: [main]
workflow_dispatch:
inputs:
PR_number:
Expand Down

0 comments on commit 9d29b3d

Please sign in to comment.