File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7979 ref : ${{ github.event.pull_request.head.ref }}
8080 fetch-depth : 1
8181 persist-credentials : false
82+ # actions/checkout@v7 refuses fork checkouts under pull_request_target
83+ # by default (anti "pwn request" guard). Safe to opt in here: this
84+ # checkout is read-only data (the xlsx is never executed) and every
85+ # script that actually runs is checked out from main below.
86+ allow-unsafe-pr-checkout : true
8287
8388 - name : Check out main branch into _main_branch/
8489 # Always run OUR scripts from main — never from the PR.
@@ -268,6 +273,8 @@ jobs:
268273 ref : ${{ github.event.pull_request.head.ref }}
269274 fetch-depth : 0
270275 persist-credentials : true
276+ # See the apply-inbox job for why this opt-in is safe here.
277+ allow-unsafe-pr-checkout : true
271278
272279 - name : Check out main branch into _main_branch/
273280 uses : actions/checkout@v7.0.0
You can’t perform that action at this time.
0 commit comments