We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab33126 commit e2853bfCopy full SHA for e2853bf
1 file changed
.github/workflows/codex-review.yml
@@ -43,6 +43,9 @@ jobs:
43
steps:
44
- name: Checkout
45
uses: useblacksmith/checkout@c9796daa2a4bdebdab5bd16be2c09a70cd4e1121 # v1
46
+ with:
47
+ # Important: `pull_request_target` should never checkout the PR head.
48
+ ref: ${{ github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha }}
49
50
- name: Check contributor authorization
51
id: gate
0 commit comments