summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-08-22 16:11:19 +0100
committerDaniil Baturin <daniil@baturin.org>2023-08-22 16:11:19 +0100
commit3b3acd3188fbdd769dcb966d95a2160e8a80ffb5 (patch)
tree3b762606444c4c9a68ca32bfc764c24895a406ab /scripts
parent80709de26b819305dd52048c15e11911f5738e04 (diff)
downloadcommunity.vyos.net-3b3acd3188fbdd769dcb966d95a2160e8a80ffb5.tar.gz
community.vyos.net-3b3acd3188fbdd769dcb966d95a2160e8a80ffb5.zip
Use GH_ACCESS_TOKEN name for the environment variables
For a reason beyond my understanding, GH Actions secrets cannot start with GITHUB_
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/list-nightly-builds.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/list-nightly-builds.py b/scripts/list-nightly-builds.py
index 7cde6ae..81f9037 100755
--- a/scripts/list-nightly-builds.py
+++ b/scripts/list-nightly-builds.py
@@ -51,7 +51,7 @@ def render_image_list(images):
return tmpl.render(images=images)
if __name__ == '__main__':
- gh_token_string = os.getenv('GITHUB_ACCESS_TOKEN')
+ gh_token_string = os.getenv('GH_ACCESS_TOKEN')
gh_auth = github.Auth.Token(gh_token_string)
gh = github.Github(auth=gh_auth)
repo = gh.get_repo(REPO)