Simplify CodeQL workflow by removing unused settings - #280
Merged
Conversation
Removed concurrency settings and Rust setup from CodeQL workflow.
There was a problem hiding this comment.
Pull request overview
This PR simplifies the repository’s CodeQL GitHub Actions workflow by removing job-level settings/steps, aiming to reduce configuration and setup overhead in .github/workflows/codeql.yml.
Changes:
- Removed workflow
concurrencyconfiguration (cancels in-progress runs for the same ref). - Removed the Rust toolchain setup step from the CodeQL workflow.
Comments suppressed due to low confidence (1)
.github/workflows/codeql.yml:36
- The workflow matrix still includes
rustand later runscargo build, but the Rust toolchain setup step was removed. This makes the job rely on whatever Rust happens to be preinstalled onubuntu-latest, which can cause CI failures or non-deterministic analysis if the runner image changes. Either restore an explicit Rust toolchain setup (recommended), or removerustfrom the matrix and the Rust build step.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
with:
languages: ${{ matrix.language }}
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
3
to
7
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: |
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 concurrency settings and Rust setup from CodeQL workflow.