fix: auth-decisions (follow gh: auth status exit code and GITEA_TOKEN account)

Signed-off-by: bircni <bircni@icloud.com>
This commit is contained in:
bircni committed 2026-10-18 18:57:25 +02:00
1 parent 20b9b1a2c1
commit 9ce014bc75
5 files changed
+57 -11

No files matched your search

+2 -1
View File
@@ -400,7 +400,8 @@ archive, or run `make docs`.
- `config get KEY` prints only the value; `--show-source` adds where it comes
from.
- `auth status` exits with 4 when there is no account or a credential is
missing or rejected. `auth token` prints the active account's token.
missing or rejected; with `--json` it exits 0 and reports the problem in the
output (`credential_available`, `verified`, `error`), like `gh auth status --json`. `auth token` prints the active account's token.
- `webhook edit` must be told what to do with the delivery authorization header
on every call, because Gitea replaces it: pass `--authorization-header`,
`--authorization-header-file` or `--clear-authorization`. The signing secret