[scanner] ci: enable CodeQL SAST and improve Code-Review score#6274
Conversation
Enables CodeQL analysis on push to main and pull_request events to improve OpenSSF Scorecard SAST score. Workflow runs JavaScript/TypeScript security analysis with pinned action references. Signed-off-by: Scanner Bot <scanner@kubestellar.io>
✅ Deploy Preview for kubestellar-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
This PR enables GitHub CodeQL SAST for the repository so that JavaScript/TypeScript security analysis runs on pushes to main, on pull requests targeting main, and on a weekly schedule. This addresses the Scorecard SAST gap described in #6271 by ensuring CodeQL analysis is executed regularly and on relevant events.
Changes:
- Adds/enables a CodeQL workflow configured for
javascript-typescriptanalysis onpush,pull_request, and a weeklyschedule. - Pins GitHub Actions to full commit SHAs for supply-chain hardening.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| permissions: | ||
| contents: read | ||
| security-events: write |
| - name: Checkout repository | ||
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 |
…led) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: Scanner Bot <scanner@kubestellar.io>
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Thank you for your contribution! Your PR has been merged. Check out what's new:
Stay connected: Slack #kubestellar-dev | Multi-Cluster Survey |
Fixes #6271
Fixes #6273
Enables CodeQL SAST workflow for security analysis on all commits and improves Code-Review score with CODEOWNERS file.
Changes
Impact
Note: #6272 (Branch-Protection) requires repository admin settings that cannot be fixed via code changes alone.