Skip to content

Commit 0e1429e

Browse files
committed
Update environment variable for GitHub token to API_GITHUB_TOKEN because GITHUB_* is forbidden for repo secrets [skip ci]
1 parent cf51c93 commit 0e1429e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

getcomputo-pub.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Env.Load(".env-secret")
2424
let client =
2525
let client = new GitHubClient(new ProductHeaderValue("computo"))
2626
// Using environment variable for token is a good security practice
27-
match System.Environment.GetEnvironmentVariable("GITHUB_TOKEN") with
27+
match System.Environment.GetEnvironmentVariable("API_GITHUB_TOKEN") with
2828
| null
2929
| "" -> client // No authentication
3030
| token ->

0 commit comments

Comments
 (0)