Skip to content

Allow anonymous GitHub usage without GITHUB_TOKEN env variable#2670

Merged
juliusv merged 1 commit intomainfrom
allow-anonymous-gh-usage
Jun 5, 2025
Merged

Allow anonymous GitHub usage without GITHUB_TOKEN env variable#2670
juliusv merged 1 commit intomainfrom
allow-anonymous-gh-usage

Conversation

@juliusv
Copy link
Member

@juliusv juliusv commented Jun 5, 2025

In case the env var isn't present (like in a Netlify deploy without sensitive variables), this makes sure that "auth" is undefined rather than an invalid empty string.

In case the env var isn't present (like in a Netlify deploy without
sensitive variables), this makes sure that "auth" is undefined rather than
an invalid empty string.

Signed-off-by: Julius Volz <julius.volz@gmail.com>
@juliusv juliusv requested a review from machine424 June 5, 2025 18:22
@juliusv juliusv merged commit b8f281d into main Jun 5, 2025
5 checks passed
@juliusv juliusv deleted the allow-anonymous-gh-usage branch June 5, 2025 18:52
Copy link
Member

@machine424 machine424 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm, thanks

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