Skip to content

Add Missing Languages to CodeQL Advanced Configuration #710

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:19
@KyFaSt KyFaSt requested a review from a team as a code owner July 10, 2025 13:19
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 the 'actions' language to the CodeQL analysis configuration to ensure comprehensive code scanning coverage for all supported languages in the repository. The change addresses a gap where GitHub Actions workflows were not being scanned by CodeQL despite being present in the repository.

  • Adds 'actions' to the language matrix in the CodeQL workflow configuration

@@ -32,7 +32,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['javascript']
language: ['javascript', '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 'actions' language is not included in the official CodeQL supported languages list shown in the comment on line 36. According to the comment, CodeQL supports ['cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby']. Adding 'actions' may cause the workflow to fail as it's not a recognized CodeQL language.

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

Copilot uses AI. Check for mistakes.

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

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