| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This PR removes the deprecated add-snippets input from the analyze action, which has been deprecated since CodeQL Action 3.26.4 in August 2024. The removal cleans up the codebase by eliminating the associated input parameter, helper function, and all references throughout the action's implementation.
Key changes:
Copilot reviewed 19 out of 19 changed files in this pull request and generated no comments.
Show a summary per file| File | Description |
|---|---|
| analyze/action.yml | Removed the deprecated add-snippets input definition |
| src/util.ts | Removed the getAddSnippetsFlag() helper function |
| src/util.test.ts | Removed tests for the deleted getAddSnippetsFlag() function |
| src/codeql.ts | Removed addSnippetsFlag parameter from databaseInterpretResults() interface and implementation |
| src/analyze.ts | Removed addSnippetsFlag parameter from runQueries() function signature |
| src/analyze-action.ts | Removed the call to getAddSnippetsFlag() when invoking runQueries() |
| src/analyze.test.ts | Removed addSnippetsFlag variable and parameter from test |
| src/analyze-action-input.test.ts | Updated argument index in test assertion after parameter removal |
| src/analyze-action-env.test.ts | Updated argument index in test assertion after parameter removal |
| CHANGELOG.md | Added entry documenting the removal of the add-snippets input |
| lib/*.js | Generated JavaScript code reflecting the TypeScript changes |
Sorry, something went wrong.
There was a problem hiding this comment.
A lot of folks won't see the changelog, so perhaps it makes sense to create a warning when the input is specified to inform users that it is ignored.
Sorry, something went wrong.
Co-authored-by: Esben Sparre Andreasen <esbena@github.com>
| Back | FazBrowse Home | New Git URL |
This PR removes the add-snippets input from the analyze action. This input has been deprecated since CodeQL Action 3.26.4 in August 2024 when this removal was announced.
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
How did/will you validate this change?
If something goes wrong after this change is released, what are the mitigation and rollback strategies?
How will you know if something goes wrong after this change is released?
Merge / deployment checklist