Skip to content

ci: add CodeQL for static analysis#407

Open
JoshMock wants to merge 2 commits into
mainfrom
codeql
Open

ci: add CodeQL for static analysis#407
JoshMock wants to merge 2 commits into
mainfrom
codeql

Conversation

@JoshMock

@JoshMock JoshMock commented Jun 10, 2026

Copy link
Copy Markdown
Member

Adds CodeQL static analysis of code to help enforce some of our command guidelines, namely:

  • always use a factory
  • never print to stdout from a handler

With room to expand into more rules later.

This also adds GitHub's default rule bundles for validating security best practices for various languages, in our case TypeScript and GitHub actions.

@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.

@github-actions

github-actions Bot commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

MegaLinter analysis: Success

Descriptor Linter Files Fixed Errors Warnings Elapsed time
✅ ACTION actionlint 1 0 0 0.25s
✅ COPYPASTE jscpd yes no no 9.29s
✅ REPOSITORY gitleaks yes no no 60.5s
✅ REPOSITORY git_diff yes no no 0.68s
✅ REPOSITORY secretlint yes no no 31.57s
✅ REPOSITORY trivy yes no no 20.52s
✅ YAML yamllint 3 0 0 0.69s

Notices

📣 MegaLinter 9.5.0 is out! Discover the new features and security recommendations in the release announcement. (Skip this info by defining SECURITY_SUGGESTIONS: false)

See detailed reports in MegaLinter artifacts
Set VALIDATE_ALL_CODEBASE: true in mega-linter.yml to validate all sources, not only the diff

MegaLinter is graciously provided by OX Security
Show us your support by starring ⭐ the repository

@JoshMock JoshMock marked this pull request as ready for review June 10, 2026 12:50
@JoshMock JoshMock marked this pull request as draft June 10, 2026 12:51
@JoshMock JoshMock force-pushed the codeql branch 2 times, most recently from afb7299 to 16c4922 Compare June 11, 2026 09:54
@JoshMock JoshMock requested review from MattDevy and margaretjgu June 11, 2026 11:14
@JoshMock JoshMock marked this pull request as ready for review June 11, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants