XS✔ ◾ Updating CodeQL configuration #498
Merged
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.
Summary
This change primarily improves the clarity of the pull request template and reorganizes the CodeQL validation workflow, moving this from the
build.yml
workflow to a newcodeql.yml
workflow.Simplification of Pull Request Template:
.github/pull_request_template.md
: The pull request template was simplified by removing the separate "Motivation" and "Technical" sections and replacing them with a single comment instructing users to provide a summary of the reasons or motivations behind the PR, what it aims to accomplish, and technical implementation details.Reorganization of CodeQL Validation Workflow:
.github/workflows/build.yml
: The "validate-codeql" job was removed from this workflow..github/workflows/codeql.yml
: A new workflow file was created for the CodeQL validation job. This job is set to run on push and pull request events for the main branch, on a weekly schedule, and on workflow dispatch events. The job includes steps to checkout the code, initialize CodeQL, and analyze the code.