actions / actions/starter-workflows

issue in codeql.yml

Open
#2,882 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
12.1k
Forks
7.3k
PR merge metrics
No merged PRs in 30d

Description

Hi

There is an issue in the example in https://github.com/actions/starter-workflows/blob/main/code-scanning/codeql.yml#L45 and the code should be updated.

Here is the issue:

  matrix:
    $codeql-languages-matrix

I think the right code should be calling the advanced-security/set-codeql-language-matrix@v1 to retrieve the languages and assign it to a variable, isnt it?

Thanks

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting code-scanning/codeql.yml at line 45 and the surrounding workflow example. Check how advanced-security/set-codeql-language-matrix@v1 is intended to provide the language matrix, then update the example and verify that the workflow syntax and matrix configuration are valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.