Skip to content

Add Missing Languages to CodeQL Advanced Configuration #4179

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: master
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:18
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 advanced configuration to ensure comprehensive code scanning coverage. The change addresses a gap where the repository contains multiple languages but only Go was configured for CodeQL scanning.

  • Adds GitHub Actions language support to the existing CodeQL configuration
  • Maintains the existing Go language scanning while expanding coverage

@@ -35,7 +35,7 @@ jobs:
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: go
languages: go, 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.

[nitpick] Consider using YAML array syntax for the languages list instead of comma-separated string. Use languages: [go, actions] for better readability and consistency with YAML conventions.

Suggested change
languages: go, actions
languages: [go, actions]

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