From f9a57e407440f41020139a720530adfa662b84c6 Mon Sep 17 00:00:00 2001 From: Jeroen Engels Date: Mon, 11 Nov 2024 00:47:07 +0100 Subject: [PATCH] Replace GITHUB_AUTH by AUTH_GITHUB Environment variables in GitHub can't start with "GITHUB_". --- test/run.sh | 6 +++--- turbo.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/test/run.sh b/test/run.sh index 8bccc63d2..40102ec0a 100755 --- a/test/run.sh +++ b/test/run.sh @@ -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() { diff --git a/turbo.json b/turbo.json index 3c87cf5f7..b7be3ff85 100644 --- a/turbo.json +++ b/turbo.json @@ -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": [