Skip to content

Commit

Permalink
reference action by exact commit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisfenner committed Sep 11, 2024
1 parent 976d69d commit 67f1c1a
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/render.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@ jobs:
key: latex-${{ inputs.input }}-${{ inputs.container-version }}-${{ github.run_id }}
restore-keys: latex-${{ inputs.input }}-${{ inputs.container-version }}

# Note: It appears that we can't pass variables into 'uses:' below to allow callers to
# request a version of the action. Referencing it by local path breaks external workflows
# that call to this one.
# The unfortunate workaround is for this file to be updated to point at specific commits
# and reference that version of the action file in this reusable workflow.
# Note: It appears that we can't pass variables into 'uses:' below to allow callers to
# request a version of the action. Referencing it by local path breaks external workflows
# that call to this one.
Expand All @@ -84,7 +89,7 @@ jobs:
# Render the document with diffs in the 'pr' mode.
- name: Render
if: inputs.workflow == 'pr'
uses: trustedcomputinggroup/pandoc/.github/actions/render@8f79b567c9dc6b15afba5d83d61e0d37f9508c47
uses: trustedcomputinggroup/pandoc/render@8f79b567c9dc6b15afba5d83d61e0d37f9508c47
with:
input-md: ${{ inputs.input }}
output-basename: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}
Expand All @@ -95,7 +100,7 @@ jobs:
# Render the document with diffs in the 'manual' mode.
- name: Render
if: inputs.workflow == 'manual'
uses: trustedcomputinggroup/pandoc/.github/actions/render@8f79b567c9dc6b15afba5d83d61e0d37f9508c47
uses: trustedcomputinggroup/pandoc/render@8f79b567c9dc6b15afba5d83d61e0d37f9508c47
with:
input-md: ${{ inputs.input }}
output-basename: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}
Expand All @@ -104,7 +109,7 @@ jobs:
# Render the document without diffs in other modes.
- name: Render
if: inputs.workflow != 'pr' && inputs.workflow != 'manual'
uses: trustedcomputinggroup/pandoc/.github/actions/render@8f79b567c9dc6b15afba5d83d61e0d37f9508c47
uses: trustedcomputinggroup/pandoc/render@8f79b567c9dc6b15afba5d83d61e0d37f9508c47
with:
input-md: ${{ inputs.input }}
output-basename: ${{ steps.gen_output_name.outputs.OUTPUT_FILENAME }}
Expand Down

0 comments on commit 67f1c1a

Please sign in to comment.