Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 2348
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 217
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 1259
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 8190
Make CI’s Typst toolchain match
typst.toml(compiler = "0.14.0").github/workflows/ci.ymlusestypst-community/setup-typst@v5at line 31, but the step provides notypst-version/typst-versions-*input.typst-versioninput defaults tolatest, so CI is not guaranteed to install Typst0.14.0as required bytypst.toml(compiler pin).typst-community/setup-typst@v5ref itself isn’t proven to exist from the repo info available here; ensure the workflow targets a valid tag/release.uses:to a commit SHA for supply-chain hardening if your security checks require it.🧰 Tools
🪛 zizmor (1.25.2)
[error] 31-31: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents
🧩 Analysis chain
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 262
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 585
🌐 Web query:
GitHub Actions Node.js 24 mandatory June 2 2026 deprecation date💡 Result:
GitHub Actions will force JavaScript actions to run on Node.js 24 by default starting June 2, 2026 (i.e., the mandatory transition/deprecation date you’re asking about is June 2, 2026). [1][2][3] In GitHub’s own changelog, the relevant window is described as: - Beginning on June 16, 2026, runners will begin using Node 24 by default (and you can temporarily opt out until Node 20 is removed later in 2026). [1] - The common deprecation warning text shown to action users also states “Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026,” with an additional note that Node.js 20 is removed from the runner later (September 16, 2026 in those warnings). [2] If you want to avoid failures/warnings around the transition, update your workflow to use action major versions that support Node.js 24, or opt into Node 24 early using the documented environment variable (FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true). [1][2]
Citations:
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 189
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 393
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 4744
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 723
🏁 Script executed:
Repository: pku-typst/pkuthss-typst
Length of output: 231
Update remaining Node20-based GitHub Actions in
ci.yml(Node 24 enforced starting Jun 2, 2026).actions/upload-artifact@v4(line 54) → Node20actions/configure-pages@v5(line 119) → Node20actions/deploy-pages@v4(line 139) → Node20typst-community/setup-typst@v5(line 31) → Node24 ✅actions/upload-pages-artifact@v3(line 122) → composite (no Node20 runtime concern)Bump the remaining Node20 actions to Node24-capable majors:
actions/upload-artifact@v7,actions/configure-pages@v6,actions/deploy-pages@v5.🧰 Tools
🪛 zizmor (1.25.2)
[error] 31-31: unpinned action reference (unpinned-uses): action is not pinned to a hash (required by blanket policy)
(unpinned-uses)
🤖 Prompt for AI Agents