From 953bc932d1b97b7d85b85c2a00bc4a7825aa2847 Mon Sep 17 00:00:00 2001 From: Remco Vermeulen Date: Wed, 20 Sep 2023 13:23:58 -0700 Subject: [PATCH] Update the help text to better explain the github token argument --- scripts/release/update-release-assets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/release/update-release-assets.py b/scripts/release/update-release-assets.py index e5392a7577..b77d61abcd 100644 --- a/scripts/release/update-release-assets.py +++ b/scripts/release/update-release-assets.py @@ -354,7 +354,7 @@ def main(args: 'argparse.Namespace') -> int: parser = argparse.ArgumentParser() parser.add_argument('--head-sha', help="The head SHA of the release PR for which we update it's corresponding release", required=True) parser.add_argument('--repo', help="The owner and repository name. For example, 'octocat/Hello-World'. Used when testing this script on a fork", required=True, default="github/codeql-coding-standards") - parser.add_argument('--github-token', help="The github token to use for the release PR", required=True, nargs="+") + parser.add_argument('--github-token', help="The github token to access repo and the repositories provided as external ids in check runs. When multiple tokens are provided use the format 'owner/repo:token', required=True, nargs="+") parser.add_argument('--layout', help="The layout to use for the release", required=True) parser.add_argument('--skip-checks', help="Skip the checks that ensure that the workflow runs succeeded", action="store_true") args = parser.parse_args()