GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — Document token input by jsoref · Pull Request #2110 · github/codeql-action Conversation
|
|
Thank you (again!) for the contribution ✨ as this is a somewhat larger change, we're going to take a bit of time to review — but rest assured that it's on our radar and to-do lists. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution 💖 and your patience as we reviewed the PR! I wrote in some suggestions and specific code-related comments, but here are some other higher-level comments:
node_modules changes here, as they seem to be unrelated to the changes? We'd also like to make sure we Squash merge rather than Merge commit when the PR is in so that the change isn't in the commit history of main.${{ secrets.CODEQL_TOKEN }} to all workflows owned by us, to keep the PR simpler. We may look into a better way of auto-generating this line for steps using actions that we own.Let us know if we can clarify further!! Thanks again 😸
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| * This API it calls is private and it is not critical that it succeed: | ||
| * https://github.com/github/codeql/issues/15462#issuecomment-1919186317 | ||
| * | ||
| * Returns true. |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Let's have this function not return anything then as I think there's limited value in always returning true. It looks like we're not doing much with the return value in any case.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
| 'Workflows triggered by Dependabot on the "push" event run with read-only access. ' + | ||
| "Uploading Code Scanning results requires write access. " + | ||
| 'To use Code Scanning with Dependabot, please ensure you are using the "pull_request" event for this workflow and avoid triggering on the "push" event for Dependabot branches. ' + | ||
| "See https://docs.github.com/en/code-security/secure-coding/configuring-code-scanning#scanning-on-push for more information on how to configure these events.", | ||
| ); | ||
| } else { | ||
| core.setFailed(e.message || GENERIC_403_MSG); | ||
| core.warning(e.message || GENERIC_403_MSG); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Because we're no longer failing the entire workflow at this stage, we'd like to provide a better error when we upload SARIF if that API call returns 403/404. So perhaps we can simply do core.warning(e.message) in this file (and below, in the 404 case, and move the GENERIC_403_MSG and GENERIC_404_MSG to catch these response codes after this call:
codeql-action/src/upload-lib.ts
Line 110 in cf7e9f2
| const response = await client.request( |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Thank you for splitting these up ✨ |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Workflows are missing permissions requests
There was an error while loading. Please reload this page.