Skip to content

Commit f9a57e4

Browse files
committed
Replace GITHUB_AUTH by AUTH_GITHUB
Environment variables in GitHub can't start with "GITHUB_".
1 parent af254b5 commit f9a57e4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/run.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ replace_script() {
1414
}
1515

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

2727
runCommandAndCompareToSnapshot() {

turbo.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://turbo.build/schema.json",
33
"globalEnv": ["NO_COLOR", "LOCAL_ELM_REVIEW_SRC", "ELM_HOME"],
4-
"globalPassThroughEnv": ["GITHUB_TOKEN", "GITHUB_AUTH"],
4+
"globalPassThroughEnv": ["GITHUB_TOKEN", "AUTH_GITHUB"],
55
"tasks": {
66
"elm-format": {
77
"inputs": [

0 commit comments

Comments
 (0)