Repository navigation
ci: add CodeQL code scanning workflow - #2683
Merged
Merged
Conversation
Code scanning was not configured: default setup reported not-configured and the repository had no analyses. Add an advanced setup workflow that analyzes Go, JavaScript/TypeScript, Python, and GitHub Actions on pull requests, pushes to main, and a weekly schedule. It complements the govulncheck and gosec gates in ci.yml with dataflow analysis and persistent alert history. The job runs with read-only contents and security-events: write only, and uses pull_request rather than pull_request_target. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
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. |
Merged
2 tasks
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.
Summary
not-configuredand the code scanning API had no analyses..github/workflows/codeql.yml) that analyzes Go, JavaScript/TypeScript, Python, and GitHub Actions on pull requests tomain, pushes tomain, a weekly schedule, and manual dispatch. Results appear as code scanning alerts in the Security tab and as PR annotations.govulncheckandgosec(golangci-lint) gates with inter-procedural dataflow analysis, Actions workflow analysis, and persistent alert history.Issue relationship
None.
Type of change
Test plan
Baseline checks
task lint): no Go changes; the workflow was linted with the repo's pinnedactionlintv1.7.12 instead.task test): skipped, no Go or Taskfile changes.task test:race): skipped, no Go changes.go run ./cmd/mecademo): skipped, no runtime changes.task docs)task site:build)task api:check)task api:update+engine/CHANGELOG.mdThe workflow's own first run on this PR is the real verification.
Changes
.github/workflows/codeql.yml.github/workflows/README.mdUser-facing change
None.
Special notes for reviewers
permissions: {}; the job gets onlycontents: readandsecurity-events: write. Usespull_request, notpull_request_target, matchingci.yml.github/codeql-actionis v4.39.3, released 2026-11-04; v4.39.2 is available if a longer soak is preferred.build-mode: autobuild, which picks upgo.workand its modules. If extraction struggles with the microVM modules, the fallback is a manualgo buildstep.Analyze (...)checks are not required. Add them to branch protection after they have run successfully if they should gate merges.🤖 Generated with Claude Code