[llvm] [Workflow] Make token optional (PR #88699)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 15 22:11:15 PDT 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-github-workflow
Author: Paulo Matos (pmatos)
<details>
<summary>Changes</summary>
Also fix typo in help string for --token.
Fixes #<!-- -->88697
---
Full diff: https://github.com/llvm/llvm-project/pull/88699.diff
1 Files Affected:
- (modified) llvm/utils/git/code-format-helper.py (+1-1)
``````````diff
diff --git a/llvm/utils/git/code-format-helper.py b/llvm/utils/git/code-format-helper.py
index f1207026704e88..5b47206d93f229 100755
--- a/llvm/utils/git/code-format-helper.py
+++ b/llvm/utils/git/code-format-helper.py
@@ -340,7 +340,7 @@ def hook_main():
parser = argparse.ArgumentParser()
parser.add_argument(
- "--token", type=str, required=True, help="GitHub authentiation token"
+ "--token", type=str, required=False, help="GitHub authentication token"
)
parser.add_argument(
"--repo",
``````````
</details>
https://github.com/llvm/llvm-project/pull/88699
More information about the llvm-commits
mailing list