diff options
author | Daniil Baturin <daniil@baturin.org> | 2023-08-22 16:11:19 +0100 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2023-08-22 16:11:19 +0100 |
commit | 3b3acd3188fbdd769dcb966d95a2160e8a80ffb5 (patch) | |
tree | 3b762606444c4c9a68ca32bfc764c24895a406ab /scripts | |
parent | 80709de26b819305dd52048c15e11911f5738e04 (diff) | |
download | community.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-x | scripts/list-nightly-builds.py | 2 |
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) |