Skip to content

Conversation

@mcalthrop
Copy link
Owner

Summary

  • Adds automated security analysis for TypeScript code using GitHub's CodeQL
  • Configures workflow to run on push to main and pull requests
  • Includes scheduled weekly analysis for continuous monitoring

Test plan

  • Verify workflow file is properly formatted and passes validation
  • Confirm CodeQL analysis runs successfully on merge to main
  • Check that security vulnerabilities are properly detected and reported

🤖 Generated with Claude Code

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.2.2 to 5.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@v4.2.2...v5.0.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings August 26, 2025 09:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds automated security analysis capabilities to the repository using GitHub's CodeQL workflow, while also updating the checkout action version across existing workflows. The implementation enables continuous security monitoring for TypeScript code through automated scans.

  • Introduces a new CodeQL workflow for security analysis with TypeScript/JavaScript language support
  • Updates checkout action from v4.2.2 to v5.0.0 across validation and merge workflows
  • Configures scheduled weekly security scans and analysis on main branch pushes/PRs

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/codeql-analysis.yml New CodeQL security analysis workflow with TypeScript/JavaScript support
.github/workflows/validate-pr.yml Updates checkout action version to v5.0.0
.github/workflows/merge-pr.yml Updates checkout action version to v5.0.0

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

strategy:
fail-fast: false
matrix:
language: ['javascript', 'typescript']
Copy link

Copilot AI Aug 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CodeQL does not support 'typescript' as a separate language. TypeScript code should be analyzed using the 'javascript' language setting, which covers both JavaScript and TypeScript files.

Suggested change
language: ['javascript', 'typescript']
language: ['javascript']

Copilot uses AI. Check for mistakes.
@mcalthrop mcalthrop closed this Aug 26, 2025
@mcalthrop mcalthrop deleted the chore/add-codeql-analysis branch August 26, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants