diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-07-30 13:22:02 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-07-30 13:22:02 -0400 |
commit | 520fa9f32e0bcc9591eb882f92a185a76476838b (patch) | |
tree | 75a3fd3f416876e943e9795c61579cb0a508fe15 | |
parent | baa9d66ded1ca05252ae9da12ff77543d59a1d02 (diff) | |
download | stasis-520fa9f32e0bcc9591eb882f92a185a76476838b.tar.gz |
Fix typo in environment variable name
* STASIS_GITHUB_TOKEN is supposed to be STASIS_GH_TOKEN
-rw-r--r-- | src/template_func_proto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template_func_proto.c b/src/template_func_proto.c index 140a5e0..f29c103 100644 --- a/src/template_func_proto.c +++ b/src/template_func_proto.c @@ -20,7 +20,7 @@ int get_github_release_notes_auto_tplfunc_entrypoint(void *frame, void *data_out int result = 0; char **output = (char **) data_out; struct tplfunc_frame *f = (struct tplfunc_frame *) frame; - char *api_token = getenv("STASIS_GITHUB_TOKEN"); + char *api_token = getenv("STASIS_GH_TOKEN"); if (!api_token) { api_token = getenv("GITHUB_TOKEN"); } |