-
Notifications
You must be signed in to change notification settings - Fork 11.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
token argument should be optional #88697
Labels
Comments
pmatos
added a commit
to pmatos/llvm-project
that referenced
this issue
Apr 15, 2024
Also fix typo in help string for --token. Fixes llvm#88697
@llvm/issue-subscribers-clang-format Author: Paulo Matos (pmatos)
It seems like the script `llvm/utils/git/code-format-helper.py` considers the case where token is None so that the PR is not updated, however it marks the `--token` argument as required. It seems to be this should be optional.
|
Do you have a link to a workflow failure that was caused by this flag being required? |
I think the reason for this is so the script can be used in a pre-commit git hook on someone's look machine. |
Ah, right. I forgot that was a supported use case. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems like the script
llvm/utils/git/code-format-helper.py
considers the case where token is None so that the PR is not updated, however it marks the--token
argument as required. It seems to be this should be optional.llvm-project/llvm/utils/git/code-format-helper.py
Line 343 in f7bf11c
The text was updated successfully, but these errors were encountered: