Skip to content

Commit

Permalink
Replace GITHUB_AUTH by AUTH_GITHUB
Browse files Browse the repository at this point in the history
Environment variables in GitHub can't start with "GITHUB_".
  • Loading branch information
jfmengels committed Nov 10, 2024
1 parent af254b5 commit f9a57e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ replace_script() {
}

# If you get errors like rate limit exceeded, you can run these tests
# with "GITHUB_AUTH=gitHubUserName:token"
# with "AUTH_GITHUB=gitHubUserName:token"
# Follow this guide: https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token
# to create an API token, and give it access to public repositories.
if [ -z "${GITHUB_AUTH:-}" ]
if [ -z "${AUTH_GITHUB:-}" ]
then
AUTH=""
else
AUTH=" --github-auth $GITHUB_AUTH"
AUTH=" --github-auth $AUTH_GITHUB"
fi

runCommandAndCompareToSnapshot() {
Expand Down
2 changes: 1 addition & 1 deletion turbo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://turbo.build/schema.json",
"globalEnv": ["NO_COLOR", "LOCAL_ELM_REVIEW_SRC", "ELM_HOME"],
"globalPassThroughEnv": ["GITHUB_TOKEN", "GITHUB_AUTH"],
"globalPassThroughEnv": ["GITHUB_TOKEN", "AUTH_GITHUB"],
"tasks": {
"elm-format": {
"inputs": [
Expand Down

0 comments on commit f9a57e4

Please sign in to comment.