Skip to content

Only warn for unrecognized token formats#233

Merged
gaborcsardi merged 5 commits into
mainfrom
feature/token-validation-improvements
May 28, 2026
Merged

Only warn for unrecognized token formats#233
gaborcsardi merged 5 commits into
mainfrom
feature/token-validation-improvements

Conversation

@gaborcsardi
Copy link
Copy Markdown
Member

GitHub PAT format validation now issues a warning by default instead of throwing an error, so a PAT in an unrecognized (e.g. newly introduced) format is still used. Set the gh_validate_tokens option or the GH_VALIDATE_TOKENS environment to "off", "warn" or "error" to configure this.

Related to #231.

GitHub PAT format validation now issues a warning by default instead of
throwing an error, so a PAT in an unrecognized (e.g. newly introduced)
format is still used. Set the `gh_validate_tokens` option or the
`GH_VALIDATE_TOKENS` environment to `"off"`, `"warn"` or `"error"`
to configure this.

Related to #231.
@gaborcsardi gaborcsardi requested a review from jennybc May 26, 2026 09:29
@jeroen
Copy link
Copy Markdown
Member

jeroen commented May 27, 2026

Thanks, lgtm

@gaborcsardi gaborcsardi merged commit a08e81a into main May 28, 2026
11 checks passed
@gaborcsardi gaborcsardi deleted the feature/token-validation-improvements branch May 28, 2026 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants