Pass explicit token to checkout for private theme submodule

The default per-job Actions token only covers the triggering repo; the
theme submodule lives in a separate private repo (hmk/pelican-latex), so
cloning it needs a token with read access to both. Add CHECKOUT_TOKEN
as a repo secret (a Gitea access token with repo read scope) for this
to work.
This commit is contained in:
2026-08-13 15:08:26 +00:00
parent 88bed173c1
commit 387a53d37c
+4
View File
@@ -19,6 +19,10 @@ jobs:
uses: actions/checkout@v4
with:
submodules: recursive
# Default job token only covers this repo; the theme submodule
# (hmk/pelican-latex) is a separate private repo, so a token with
# read access to both is needed here.
token: ${{ secrets.CHECKOUT_TOKEN }}
- name: Install Python dependencies
run: pip install --no-cache-dir -r requirements.txt