We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems that whenever trying to force overwrite a file to a repo that already exists with gh code-scanning enable -f --git-push
gh code-scanning enable -f --git-push
Seems to fail with the following error.
b'2022-09-12 20:25:46,677 2137 ERROR org/test: cannot create file ".github/workflows/codeql-analysis.yml": gh: Invalid request.\n\n"sha" wasn't supplied. (HTTP 422)\n'
This more tends to be an issue for repos where custom workflows are used, vs codeql where when you enable it once thats all you need.
The text was updated successfully, but these errors were encountered:
I'll take a look at it. Thanks for the report.
Sorry, something went wrong.
No branches or pull requests
It seems that whenever trying to force overwrite a file to a repo that already exists with
gh code-scanning enable -f --git-push
Seems to fail with the following error.
b'2022-09-12 20:25:46,677 2137 ERROR org/test: cannot create file ".github/workflows/codeql-analysis.yml": gh: Invalid request.\n\n"sha" wasn't supplied. (HTTP 422)\n'
This more tends to be an issue for repos where custom workflows are used, vs codeql where when you enable it once thats all you need.
The text was updated successfully, but these errors were encountered: