ci: add CodeQL security analysis workflow (#63648) - #67970
ci: add CodeQL security analysis workflow (#63648)#67970saidai-bhuvanesh wants to merge 1 commit into
Conversation
❌ PR Closed — Files Outside
|
|
🔒 Pull Request Closed: This PR has been automatically closed because it does not contain any file changes under the |
❌ Submission Validation FailedThank you for your contribution! However, some required files are missing or incorrect. 📋 Required Structure🔍 Issues Found:🔠
|
|
🔒 Pull Request Closed This PR was automatically closed because it failed the submission validation check. Please fix the issues listed above, then open a new pull request. Thank you! |
|
🔒 Pull Request Closed: This PR has been automatically closed because it does not contain any file changes under the |
|
✅ PR Closed — Full GSSoC Credit Awarded. Thanks @saidai-bhuvanesh! You have submitted 51/250 PRs today (resets in 5h). Labels: GSSoC-26, gssoc:approved, accepted, integrated, good-pr assigned. |
What
Closes #63648 — adds a CodeQL static analysis workflow for automated security/code-quality scanning.
Workflow:
.github/workflows/codeql.ymlTriggers (per the issue's spec)
mainmainworkflow_dispatchWhat it does
github/codeql-action/init@v3— initializes CodeQL for JavaScript (EaseMotion-css ships JS: build scripts, the motion engine, benchmarks) using thesecurity-and-qualityquery suite for richer findings.github/codeql-action/autobuild@v3— builds the analysis target automatically (no custom build step needed; the repo's JS is interpreted).github/codeql-action/analyze@v3— runs the queries and uploads SARIF results to GitHub Security → Code scanning, categorized as/language:javascript.Permissions — least-privilege, scoped exactly to what CodeQL needs:
contents: read— checkoutsecurity-events: write— upload SARIF to Code scanningactions: read— required by the upload-sarif actionConcurrency —
codeql-${{ github.ref }},cancel-in-progress: trueso superseded runs on the same branch are cancelled (saves Actions minutes).Timeout — 30 min safety cap.
Acceptance criteria (from the issue)
.github/workflows/codeql.yml@v3)Verification
package.jsonor framework source changes.Duplicate issue note
#63649 is a byte-for-byte identical duplicate of this issue (same title and body). This PR resolves the underlying request; I'll close #63649 as a duplicate once this is reviewed.
Notes