Skip to content

Conversation

martincostello
Copy link
Member

Changes

Add GitHub Actions workflow to run CodeQL for GitHub Actions and C#.

Merge requirement checklist

  • Unit tests added/updated
  • CHANGELOG.md updated
  • Changes in public API reviewed (if applicable)

Add GitHub Actions workflow to run CodeQL for GitHub Actions and C#.
@martincostello martincostello added enhancement New feature or request dependencies Pull requests that update a dependency file github-actions Pull requests that update GitHub Actions code labels Jul 17, 2025
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@martincostello martincostello marked this pull request as ready for review July 17, 2025 15:43
@Copilot Copilot AI review requested due to automatic review settings July 17, 2025 15:43
@martincostello martincostello requested a review from a team as a code owner July 17, 2025 15:43
Copy link

@Copilot 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 a GitHub Actions workflow to implement CodeQL security analysis for the repository, scanning both GitHub Actions workflows and C# code.

  • Introduces automated security scanning with CodeQL for Actions and C# languages
  • Configures the workflow to run on push/PR to main branch, weekly schedule, and manual dispatch
  • Implements a status reporting job to provide clear feedback on scan results
Comments suppressed due to low confidence (1)

.github/workflows/codeql.yml:1

  • [nitpick] The workflow name 'codeql' should follow consistent naming conventions. Consider using 'CodeQL' or 'CodeQL Analysis' for better readability and consistency with GitHub's naming conventions.
name: codeql

@martincostello
Copy link
Member Author

Will fix up anything it flags post-merge.

@martincostello martincostello merged commit 5eddbb9 into main Jul 17, 2025
17 checks passed
@martincostello martincostello deleted the codeql branch July 17, 2025 16:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request github-actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants