Skip to content

Commit 974d302

Browse files
authored
Fix github token (#9)
1 parent 3a75821 commit 974d302

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/core/scm/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
log.warn("Unable to get PR number from event data, assuming not a PR")
1919
exit(0)
2020
commit_sha = os.getenv("GITHUB_SHA")
21-
gh_api_token = os.getenv("GH_API_TOKEN") or os.getenv("GITHUB_TOKEN") or os.getenv("github_token")
21+
gh_api_token = os.getenv("INPUT_GITHUB_TOKEN") or os.getenv("GITHUB_TOKEN") or os.getenv("github_token")
2222
working_directory = os.getenv("GITHUB_WORKSPACE")
2323

2424
if working_directory is None:

0 commit comments

Comments
 (0)