Skip to content

Add Missing Languages to CodeQL Advanced Configuration #1570

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 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ jobs:

strategy:
fail-fast: false
matrix:
language: [ 'actions', 'go' ]

runs-on: ubuntu-latest # windows-latest and ubuntu-latest are supported. macos-latest is not supported at this time.

Expand All @@ -26,6 +28,8 @@ jobs:

- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
Copy link
Preview

Copilot AI Jul 14, 2025

Choose a reason for hiding this comment

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

The indentation is inconsistent. This line should be aligned with the 'with:' parameter above using 2 spaces instead of 4 spaces to match standard GitHub Actions YAML formatting.

Suggested change
languages: ${{ matrix.language }}
languages: ${{ matrix.language }}

Copilot uses AI. Check for mistakes.


- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Loading