From a5cb331c6429c9fed32c72e12a67099ce6ad256f Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Mon, 6 Nov 2023 16:38:34 +0000 Subject: [PATCH] gitlab_gql: strip newline at the end of the token file Part-of: --- bin/ci/gitlab_gql.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ci/gitlab_gql.py b/bin/ci/gitlab_gql.py index a5fd27efa8d..82002c7b2a5 100755 --- a/bin/ci/gitlab_gql.py +++ b/bin/ci/gitlab_gql.py @@ -330,7 +330,7 @@ def parse_args() -> Namespace: ) args = parser.parse_args() - args.gitlab_token = Path(args.gitlab_token_file).read_text() + args.gitlab_token = Path(args.gitlab_token_file).read_text().strip() return args