Repository navigation
[ci] Run CodeQL security analysis on every PR - #347
Merged
wangtiance merged 2 commits intoNov 16, 2026
Merged
Conversation
## summary - Analyze Python and JavaScript/TypeScript independently on every PR, with main baseline scans and pinned official Actions. - Require successful analysis receipts in a uniquely named aggregate; document alert checks and pending administrator enforcement. - Add workflow policy and aggregate-command regression coverage. ## validation - 106 CI policy, scope, summary, profile and layer tests passed. - Shared pre-commit checks passed against exact staged blobs. - npm run check:i18n passed. Refs: ThinkFlowLab#273
wangtiance
requested review from
hsliuustc0106 and
princepride
as code owners
November 16, 2026 06:26
|
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. |
yenuo26
reviewed
Nov 16, 2026
| @@ -0,0 +1,54 @@ | |||
| name: CodeQL | |||
There was a problem hiding this comment.
When PRs increase and pushes are frequent, old commits keep occupying runners, causing new checks to queue up. Configuring concurrency and cancel-in-progress: true for the same PR can cancel outdated runs and free up runners. It is also recommended to cover CodeQL, CI, and DSH plugin checks at the same time.
11 tasks
## summary - Group CodeQL, Release checks and DSH plugin runs by workflow, event and PR number so updates cancel obsolete PR checks. - Keep non-PR runs isolated by run ID without cancellation. - Document concurrency boundaries in Chinese and English. ## validation - 106 related CI tests passed. - Shared static checks passed against the exact staged blobs.
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
Implements PR3 of #273: run source security analysis on every PR, including drafts and documentation-only changes.
security-extendedjobs using pinned official Actions andbuild-mode: none; no application dependency installation, application build or model calls.CodeQL / checksaggregate that rejects failed, cancelled, skipped or missing analysis receipts.Validation
--noconftest -p ci_profile; avoids unrelated application fixtures in this local environment).npm run check:i18n: 3,014 keys, zero problems.Repository configuration and remaining scope
This workflow does not configure branch protection.
CodeQL / checksproves successful execution/upload; GitHub's separate Code scanning results / CodeQL check evaluates alert severity on PR changes. An administrator must confirm advanced setup without a conflicting default setup, verify fork uploads and alert thresholds, and require both checks. The current account has no repository administration permission; reading default setup returned HTTP 403, so that setting is unverified.merge_groupsupport remains PR6 and repository enforcement remains PR7 from #273. Dependency/container scanning and changes to ready/merge/nightly selection are outside this PR.Refs #273