Configure ignored local ReleaseKit token
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user