Skip to content

chore(ci): add Dependabot config and CodeQL code scanning#3676

Merged
esengine merged 3 commits into
main-v2from
chore/security-config
Jun 9, 2026
Merged

chore(ci): add Dependabot config and CodeQL code scanning#3676
esengine merged 3 commits into
main-v2from
chore/security-config

Conversation

@esengine

@esengine esengine commented Jun 9, 2026

Copy link
Copy Markdown
Owner

Summary

Security & quality hardening for the repo (part API-side, part config files).

Already enabled via repo settings (no file needed):

  • Dependabot alerts
  • Dependabot security updates
  • Private vulnerability reporting

(Secret scanning + push protection were already on.)

This PR adds:

  • .github/dependabot.yml — weekly version updates for: gomod (/ + /desktop), npm (/desktop/frontend, /site, /npm/reasonix), and github-actions (/). Minor/patch updates are grouped to keep PR noise down; majors come as individual PRs.
  • .github/workflows/codeql.yml — CodeQL code scanning for go, javascript-typescript, and actions, on push/PR to main-v2 plus a weekly scan. Uses build-mode: none so the two Go modules (root + desktop) need no build step and all source is covered.

Notes

  • CodeQL couldn't be enabled through the API (the token lacks security_events), so it's added as a committed workflow (advanced setup) instead — which is reviewable and dependabot keeps the action versions current.
  • secret_scanning_validity_checks could not be toggled via API on this repo; enable it in the UI if wanted (Settings → Code security).
  • A SECURITY.md (pairs with private vulnerability reporting) was intentionally left out — say the word and I'll add one.

Enable Dependabot version updates (gomod for the root and desktop
modules; npm for desktop/frontend, site, and npm/reasonix; github-actions)
with grouped minor/patch PRs to keep noise down, and add a CodeQL workflow
(go, javascript-typescript, actions; build-mode none so the multi-module
repo needs no build step) on push/PR to main-v2 plus a weekly scan.
@esengine esengine requested a review from SivanCola as a code owner June 9, 2026 10:57
@github-actions github-actions Bot added the v2 Go rewrite (1.x) — main-v2 branch, active development label Jun 9, 2026
@github-advanced-security

Copy link
Copy Markdown

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:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@esengine esengine merged commit 135470c into main-v2 Jun 9, 2026
13 checks passed
@esengine esengine deleted the chore/security-config branch June 9, 2026 11:09
SuMuxi66 pushed a commit to SuMuxi66/DeepSeek-Reasonix that referenced this pull request Jun 10, 2026
)

* chore(ci): add Dependabot config and CodeQL code scanning

Enable Dependabot version updates (gomod for the root and desktop
modules; npm for desktop/frontend, site, and npm/reasonix; github-actions)
with grouped minor/patch PRs to keep noise down, and add a CodeQL workflow
(go, javascript-typescript, actions; build-mode none so the multi-module
repo needs no build step) on push/PR to main-v2 plus a weekly scan.

* chore(ci): use codeql-action v4 (v3 deprecates Dec 2026)

* fix(ci): CodeQL Go requires a build — use autobuild, not none

---------

Co-authored-by: reasonix <reasonix@deepseek.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants