Configure ignored local ReleaseKit token
All checks were successful
ci/woodpecker/tag/release Pipeline was successful
All checks were successful
ci/woodpecker/tag/release Pipeline was successful
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -47,6 +47,7 @@ pipeline.yml
|
||||
bin/
|
||||
|
||||
# Local run artifacts
|
||||
.releasekit/
|
||||
.audita-runs/
|
||||
report.json
|
||||
corrected.json
|
||||
|
||||
@@ -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.
|
||||
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).
|
||||
This minimum is required by the selected application dependencies.
|
||||
Distributed executables do not require a Go installation. The selected release
|
||||
|
||||
@@ -14,9 +14,11 @@
|
||||
"owner": "eric",
|
||||
"repository": "audita",
|
||||
"token_env": "RELEASEKIT_GITEA_TOKEN",
|
||||
"token_file": ".releasekit/gitea-token",
|
||||
"forge": "gitea"
|
||||
},
|
||||
"validation": {
|
||||
"forbidden_files": [".releasekit/gitea-token"],
|
||||
"go": {
|
||||
"race": true,
|
||||
"full_vet": true
|
||||
|
||||
Reference in New Issue
Block a user