Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
Troubleshooting the CodeQL workflow
What part(s) of the article would you like to see updated?
Question from user:
"In my workload, analysis fails on generated code (which is thus known to be good). How can I suppress such false positives?"
Docs update needed:
Troubleshooting the CodeQL workflow
- In the section "Reduce the amount of code being analyzed in a single workflow", convert the 2nd, 3rd and 4th paragraphs to a reusable.
- Add a new section called "Alerts found in generated code" use the new reusable.
For information about reusables, see Reusables and variables and docs/data/reusables/README.md
Additional information
Showing the same content twice in one article may seem strange. However, this will make it more discoverable for users who want to exclude code from analysis for reasons apart from their build taking too long.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done