mirror of
https://gitea.com/gitea/tea.git
synced 2026-10-26 11:01:25 +01:00
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:
5 files changed
+57
-11
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user