Clean up CodeQL workflow by removing languages#73
Merged
Conversation
Removed unused language configurations from CodeQL workflow.
There was a problem hiding this comment.
Pull request overview
This PR updates the repository’s CodeQL GitHub Actions workflow configuration, aiming to limit CodeQL analysis to a smaller set of languages.
Changes:
- Defines a CodeQL “Advanced” workflow with a language matrix (currently
actionsandpython). - Configures CodeQL init/analyze steps and a conditional manual build step.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+45
to
+49
| include: | ||
| - language: actions | ||
| build-mode: none | ||
| - language: python | ||
| build-mode: none |
Comment on lines
+58
to
+60
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/checkout@v4 |
Comment on lines
+69
to
+73
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/init@v4 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| build-mode: ${{ matrix.build-mode }} |
Comment on lines
+87
to
+96
| - name: Run manual build steps | ||
| if: matrix.build-mode == 'manual' | ||
| shell: bash | ||
| run: | | ||
| echo 'If you are using a "manual" build mode for one or more of the' \ | ||
| 'languages you are analyzing, replace this with the commands to build' \ | ||
| 'your code, for example:' | ||
| echo ' make bootstrap' | ||
| echo ' make release' | ||
| exit 1 |
Comment on lines
+98
to
+101
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/analyze@v4 | ||
| with: | ||
| category: "/language:${{matrix.language}}" |
Comment on lines
+46
to
+49
| - language: actions | ||
| build-mode: none | ||
| - language: python | ||
| build-mode: none |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removed unused language configurations from CodeQL workflow.