-
Notifications
You must be signed in to change notification settings - Fork 10
Add support for new matrix format with language and build-mode #19
New issue
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
Conversation
…ld-mode Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
felickz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See my comments
- Track original repository languages that map to CodeQL languages - Ensure kotlin repositories get manual build mode when mapped to java CodeQL language - Handle multiple repository languages mapping to same CodeQL language - Address code review feedback about repo-level language tracking Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
…d-mode Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
Co-authored-by: felickz <1760475+felickz@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
This should be back compat with the old non matrix , so either make this |
This should be v1.4.0 since the changes are backward compatible. The existing |


This PR adds support for the new CodeQL matrix format that includes both
languageandbuild-modefields, replacing the deprecatedautobuildapproach with the modernbuild-modeworkflow.Changes Made
New Matrix Format
["swift", "python", "rust", "go", "javascript", "java"]{ "include": [ {"language": "python", "build-mode": "none"}, {"language": "swift", "build-mode": "manual"}, {"language": "go", "build-mode": "manual"}, {"language": "java", "build-mode": "manual"} ] }Build Mode Logic
"none"for most languages (python, javascript, ruby, rust, actions, etc.)"manual"for languages requiring custom build steps (go, swift, java)build-mode-overrideinput allows users to specify additional languages for manual build modeBackward Compatibility
languagesoutput for backward compatibilitymatrixoutput with the include formatUpdated Workflow
The README now shows the modern CodeQL workflow:
New Input Parameter
Added
build-mode-overrideinput to allow users to specify languages that should use manual build mode:Testing
Fixes #18.
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.