| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
There was a problem hiding this comment.
Warning
Ignores repository-provided configuration files when unsupported analysis kinds are enabled.
Changes:
| File | Description |
|---|---|
| src/init-action.ts | Resolves analysis kinds before selecting the configuration file. |
| src/config/file.ts | Applies the analysis-kind restriction. |
| src/config/file.test.ts | Tests configuration selection behavior. |
| lib/entry-points.js | Generated artifact; excluded from review. |
Sorry, something went wrong.
There was a problem hiding this comment.
Consider a debug log that we're ignoring the property, otherwise LGTM
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
This PR is a crude change to ignore the configuration file repository property if analysis-kinds is anything other than just code-scanning. This addresses a potential issue where we want to have a custom configuration file containing query customisations for a repo that has both Code Scanning and Code Quality enabled. We do not currently support query customisation for Code Quality, so that would then result in an error and prevent query customisation via the configuration file.
Notes for reviewers
Risk assessment
For internal use only. Please select the risk level of this change:
Which use cases does this change impact?
Workflow types:
Products:
Environments:
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?
Are there any special considerations for merging or releasing this change?
Merge / deployment checklist