Add explicit CodeQL workflow for Actions scanning#77
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job Analyze (actions)
Add CodeQL Advanced Setup workflow to fix failing "Analyze (actions)" job
Jun 27, 2026
Copilot
AI
changed the title
Add CodeQL Advanced Setup workflow to fix failing "Analyze (actions)" job
Add explicit CodeQL workflow for Actions scanning
Jun 27, 2026
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a repository-owned CodeQL workflow to ensure GitHub Actions workflow files (.github/workflows/**) are consistently analyzed in this repo, and prevents reintroducing a locally generated cookie artifact.
Changes:
- Added an explicit CodeQL workflow (
actionslanguage,build-mode: none) triggered onpush,pull_request(main), and a weekly schedule. - Updated
.gitignoreto ignoreghcookies.txtto avoid committing credential artifacts.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.gitignore |
Ignores ghcookies.txt to prevent committing local credential artifacts. |
.github/workflows/codeql.yml |
Adds an explicit CodeQL workflow to scan GitHub Actions workflows on main PRs/pushes and on a schedule. |
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
📊 Code Coverage Report
Diff CoverageDiff: main...HEAD, staged and unstaged changesNo lines with coverage information in this diff. 🔗 Quick Links |
Theekshna
approved these changes
Jun 27, 2026
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.
GitHub’s managed Default setup was not reliably initializing Actions analysis for this repository. This change moves CodeQL to an explicit repository-owned workflow so the scan runs from a normal checkout and analyzes
.github/workflowsconsistently.What changed
.github/workflows/codeql.ymlto run CodeQL in Advanced setup mode.pushtomainpull_requesttargetingmainCodeQL configuration
languages: actionsbuild-mode: nonegithub/codeql-action/analyze@v3to publish results.Permissions
contents: readsecurity-events: writeRepository hygiene
ghcookies.txtto avoid reintroducing local credential artifacts.