Commit 2f765bc
fix(ci): allow checkout of fork PR code in pull_request_target workflow
actions/checkout v7 now refuses to fetch fork pull request code in
pull_request_target workflows by default to prevent pwn request
attacks. Add allow-unsafe-pr-checkout: true to the e2e workflow
checkout step that needs to build and test fork PR code with
repository secrets.
Signed-off-by: Zaki Shaikh <zashaikh@redhat.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 6554d32 commit 2f765bc
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
129 | 132 | | |
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
| 136 | + | |
133 | 137 | | |
134 | 138 | | |
135 | 139 | | |
| |||
0 commit comments