We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0124c18 + 81ef845 commit 7333c0cCopy full SHA for 7333c0c
1 file changed
.github/workflows/fusion.yml
@@ -19,7 +19,7 @@ on:
19
push:
20
branches:
21
- main
22
- pull_request:
+ pull_request_target:
23
workflow_dispatch:
24
25
env:
@@ -35,8 +35,11 @@ jobs:
35
adapter: [snowflake]
36
37
steps:
38
- - name: "Checkout ${{ github.event.repository }}"
+ - name: "Checkout PR code"
39
uses: actions/checkout@v4
40
+ with:
41
+ # For pull_request_target, we must explicitly checkout the PR head
42
+ ref: ${{ github.event.pull_request.head.sha || github.ref }}
43
44
- name: "Set up Python ${{ env.PYTHON_VERSION }}"
45
uses: actions/setup-python@v5
0 commit comments