Add CodeQL workflow to scan GitHub Actions#1176
Merged
Merged
Conversation
Runs CodeQL's actions language analysis with security-extended and security-and-quality query suites on PRs that touch workflow or action files, catching workflow injection and other supply-chain risks before merge. Assisted-by: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: Paulo Gomes <paulo@entire.io>
|
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 dedicated CodeQL workflow to analyze GitHub Actions/workflow files when they are modified in pull requests, aiming to catch workflow-injection and other CI supply-chain risks prior to merge.
Changes:
- Introduces a new
.github/workflows/codeql-actions.ymlworkflow triggered on PRs that touch workflow/action definitions (and via manual dispatch). - Runs CodeQL “actions” language analysis with
security-extendedandsecurity-and-qualityquery suites and uploads results to code scanning.
Fork PRs receive a read-only GITHUB_TOKEN, so the analyze step's upload to the code-scanning API fails and turns the check red for external contributors. Switch upload to never for fork PRs while still running the analysis so findings appear in the job log. Assisted-by: Claude Opus 4.7 <noreply@anthropic.com> Signed-off-by: Paulo Gomes <paulo@entire.io> Entire-Checkpoint: d86ffe2e995d
Soph
approved these changes
May 11, 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.
https://entire.io/gh/entireio/cli/trails/351
Runs CodeQL's actions language analysis with
security-extendedandsecurity-and-qualityquery suites on PRs that touchworkfloworactionfiles, catching workflow injection and other supply-chain risks before merge.Note
Low Risk
Low risk: adds a new CI workflow only, with minimal read permissions plus
security-events: writeto upload results.Overview
Adds a new
.github/workflows/codeql-actions.ymlworkflow that runs CodeQL analysis for theactionslanguage on demand and on PRs that modify workflow/action files.The job checks out the PR head SHA, runs the
security-extendedandsecurity-and-qualityquery suites, and uploads findings to GitHub Security with scoped permissions.Reviewed by Cursor Bugbot for commit 256a66f. Configure here.