From 520fa9f32e0bcc9591eb882f92a185a76476838b Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Tue, 30 Jul 2024 13:22:02 -0400 Subject: Fix typo in environment variable name * STASIS_GITHUB_TOKEN is supposed to be STASIS_GH_TOKEN --- src/template_func_proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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"); } -- cgit