We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 607009a commit b22429cCopy full SHA for b22429c
.github/workflows/autogen.yaml
@@ -17,8 +17,16 @@ jobs:
17
contents: write
18
19
steps:
20
- - name: Checkout code
+ - name: Checkout (pull request)
21
uses: actions/checkout@v4
22
+ if: github.event_name == 'pull_request'
23
+ with:
24
+ ref: ${{ github.head_ref }}
25
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
26
+
27
+ - name: Checkout (default)
28
+ uses: actions/checkout@v4
29
+ if: github.event_name != 'pull_request'
30
with:
31
ref: ${{ github.head_ref }}
32
0 commit comments