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 d1afe7b commit c655a73Copy full SHA for c655a73
.github/workflows/render.yml
@@ -48,7 +48,18 @@ jobs:
48
echo OUTPUT_FILENAME="${filename}" >> "$GITHUB_OUTPUT"
49
echo output filename: ${filename}
50
51
+ # For pull requests, check out the head ref of the source branch.
52
- name: Checkout
53
+ if: inputs.workflow == 'pr'
54
+ uses: actions/checkout@v4
55
+ with:
56
+ ref: ${{ github.head_ref }}
57
+ fetch-depth: 0
58
+ fetch-tags: true
59
+ # For other workflows, check out the requested revision (which defaults to
60
+ # head of the default branch).
61
+ - name: Checkout
62
+ if: inputs.workflow != 'pr'
63
uses: actions/checkout@v4
64
with:
65
ref: ${{ inputs.revision }}
0 commit comments