Skip to content

Add Missing Languages to CodeQL Advanced Configuration #51

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KyFaSt
Copy link

@KyFaSt KyFaSt commented Jul 10, 2025

We are working to improve and streamline CodeQL configuration at GitHub. Your repository

  1. Uses advanced CodeQL configuration
  2. Has languages in the repository that are not configured to be scanned by Code Scanning (CodeQL)

This PR adds those languages to your configuration. Merging this PR will ensure code scanning happens in your repo reliably and should eliminate future findings in Security Findings (assuming you update the configuration as contents of your repository changes).

If your repository does not require or benefit from advanced config (e.g. for compiled languages), you can change to default setup in lieu of merging this PR.

If you have concerns or questions about this, please mention @github/prodsec-engineering in this PR or drop in our slack channel with your question.

@Copilot Copilot AI review requested due to automatic review settings July 10, 2025 13:21
@KyFaSt KyFaSt requested a review from a team as a code owner July 10, 2025 13:21
Copy link
Contributor

@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 missing languages to the CodeQL analysis configuration to ensure comprehensive security scanning coverage across the repository. The change extends the existing advanced CodeQL setup to include languages that were previously not being scanned.

  • Adds "actions" language to the existing TypeScript configuration in the CodeQL matrix
  • Ensures Security Findings compliance by including all repository languages in code scanning

@@ -25,7 +25,7 @@ jobs:
fail-fast: false
matrix:
language:
- TypeScript
- TypeScript, actions
Copy link
Preview

Copilot AI Jul 10, 2025

Choose a reason for hiding this comment

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

The matrix language configuration is incorrect. Each language should be a separate list item, not comma-separated values in a single item. This should be two separate entries: '- typescript' and '- javascript' (note: CodeQL uses 'javascript' for both JS and TS, and 'actions' is not a valid CodeQL language).

Suggested change
- TypeScript, actions
- javascript
- javascript

Copilot uses AI. Check for mistakes.

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.

1 participant