Skip to content

Commit 77066e4

Browse files
committed
fix: accept JSON array for languages input (address review feedback)
1 parent 32db061 commit 77066e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
workflow_call:
99
inputs:
1010
languages:
11-
description: "Comma-separated CodeQL languages (e.g. java-kotlin, go, javascript-typescript)"
11+
description: 'JSON array of CodeQL languages (e.g. ["java-kotlin"], ["go"], ["java-kotlin","go"])'
1212
required: true
1313
type: string
1414

@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
language: ${{ fromJson(format('[{0}]', inputs.languages)) }}
26+
language: ${{ fromJson(inputs.languages) }}
2727
steps:
2828
- name: Checkout
2929
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5

0 commit comments

Comments
 (0)