Repository navigation
Conversation
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Follows #271 and #269, whose token permissions and install settings the job uses.
actions/checkoutsnippet. Everything else a CI job needs was left to the reader: installing a pinned version, passing the keys, the token permissions, where the written files go, and what happens to the draft.v*tag, full history (fetch-depth: 0), a pinned Chartula installed with the install script of that same release, secrets as environment variables,permissionsofcontents: writeandpull-requests: read, and an artifact with every file the run writes.contents: writethe model calls are paid before GitHub refuses; without the artifact the files vanish with the runner.--tagand--repogo throughenv, not straight intorun, so a tag name cannot inject shell code.CHANGELOG.mdis committed through a pull request rather than by the job (the tag's checkout is not a branch).--no-publishwithcontents: readfor a job that should leave GitHub alone.chartula.yamland only the endpoint and key in the job.actions/checkoutfetches files without history when git is missing;libstdc++,curlandca-certificatesfor the musl binary.Verified in Docker, no tokens spent: the job's steps in
ubuntu:24.04andalpine:latest: full clone, pinned install from the tag'sinstall.sh, thenchartula preview --tag v0.1.0-preview.3 --repo goldbarth/chartulawith a dummy key. Both read 7 commits and 7 pull requests from GitHub; Ubuntu ends on the expected401at the first model call. The workflow parses as YAML, and every relative link and anchor resolves.Not verified: a run inside GitHub Actions itself (
$GITHUB_PATH, the built-in token'spermissions, the artifact upload).Tests: no test changed; documentation only.