Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions changelog.d/quarto-publish-tinytex-gh-token.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
- **`quarto-publish`'s TinyTeX install no longer 403s on shared runners**
(#270).
The "Set up Quarto" step now passes `GH_TOKEN: ${{ github.token }}`,
so `quarto install tinytex`'s latest-release lookup against
`rstudio/tinytex-releases` is authenticated rather than an unauthenticated
GitHub API call that intermittently fails with `403 - Forbidden`
(`Unable to determine latest release for rstudio/tinytex-releases`).
Only affects callers with `tinytex: true`; matches the `preview` composite,
which already authenticates the same step.
5 changes: 5 additions & 0 deletions quarto-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,11 @@ runs:

- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@8a96df13519ee81fd526f2dfca5962811136661b # v2.2.0
env:
# `quarto install tinytex` looks up the latest `rstudio/tinytex-releases`
# release via the GitHub API; unauthenticated, that intermittently 403s on
# shared runners (#270). Authenticate it, matching the `preview` composite.
GH_TOKEN: ${{ github.token }}
with:
tinytex: ${{ inputs.tinytex }}

Expand Down
Loading