Configure ignored local ReleaseKit token

This commit is contained in:
2026-11-27 04:25:36 +00:00
parent cbb2f768be
commit 9efcdfb438
3 changed files with 10 additions and 0 deletions

1
.gitignore vendored
View File

@@ -47,6 +47,7 @@ pipeline.yml
bin/ bin/
# Local run artifacts # Local run artifacts
.releasekit/
.audita-runs/ .audita-runs/
report.json report.json
corrected.json corrected.json

View File

@@ -12,6 +12,13 @@ remote is `origin`, which must point to `ssh://git@forge.maximumdirect.net:22222
primary branch is `main`. Source publication needs no delivery credential. primary branch is `main`. Source publication needs no delivery credential.
Woodpecker uses the existing `GITEA_RELEASE_TOKEN` secret for delivery. Woodpecker uses the existing `GITEA_RELEASE_TOKEN` secret for delivery.
For local delivery, `releasekit.json` selects `.releasekit/gitea-token` as the
fallback when `RELEASEKIT_GITEA_TOKEN` is unset or blank. Keep the token file
owner-readable only. The `.releasekit/` directory is git-ignored, and the
candidate's forbidden-file check rejects a committed token file. Native token
selection is described in the pinned
[ReleaseKit configuration reference](https://forge.maximumdirect.net/base-layer/releasekit/src/tag/v0.10.0/docs/config.md).
The source-build minimum is Go 1.27.0, declared in [go.mod](../go.mod). The source-build minimum is Go 1.27.0, declared in [go.mod](../go.mod).
This minimum is required by the selected application dependencies. This minimum is required by the selected application dependencies.
Distributed executables do not require a Go installation. The selected release Distributed executables do not require a Go installation. The selected release

View File

@@ -14,9 +14,11 @@
"owner": "eric", "owner": "eric",
"repository": "audita", "repository": "audita",
"token_env": "RELEASEKIT_GITEA_TOKEN", "token_env": "RELEASEKIT_GITEA_TOKEN",
"token_file": ".releasekit/gitea-token",
"forge": "gitea" "forge": "gitea"
}, },
"validation": { "validation": {
"forbidden_files": [".releasekit/gitea-token"],
"go": { "go": {
"race": true, "race": true,
"full_vet": true "full_vet": true