Classify invalid delivery destinations during preflight
This commit is contained in:
@@ -168,9 +168,10 @@ should follow credential verification. The check needs no checkout or published
|
||||
tag and performs no test release or upload. For Gitea it verifies authenticated
|
||||
repository access; exposed metadata can identify known deficiencies, but
|
||||
successful preflight does not guarantee later release or asset writes. A
|
||||
`DeliveryPreflightError` identifies missing credentials, rejected credentials,
|
||||
known insufficient permissions, an inaccessible destination, or unavailable
|
||||
verification. Its `Unwrap` method preserves the cause for `errors.Is` and
|
||||
`DeliveryPreflightError` identifies invalid destination settings, missing or
|
||||
rejected credentials, known insufficient permissions, an inaccessible
|
||||
destination, or unavailable verification. Its `Unwrap` method preserves the
|
||||
cause for `errors.Is` and
|
||||
`errors.As`. A 403 means access was denied, not necessarily that a token
|
||||
expired; a 404 can mean a missing repository or hidden access.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user