-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (35 loc) · 1.56 KB
/
Copy pathaction.yml
File metadata and controls
36 lines (35 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# action.yml
name: 'Set CodeQL Languages'
description: 'Auto-populate the Actions matrix definition to include languages for CodeQL'
icon: lock
inputs:
access-token:
description: 'github token'
required: true
endpoint:
description: 'languages API endpoint'
required: true
exclude:
description: 'Use a comma separated list here to exclude specific languges from your CodeQL scan. Example: "python, java"'
required: false
build-mode-manual-override:
description: 'Use a comma separated list here to specify languages that should use manual build mode instead of the default. Example: "java, csharp"'
required: false
standard-language-names:
description: 'Set to "true" to map aliased languages to the standard combined CodeQL language names used by github/codeql-action (e.g. "javascript-typescript" instead of "javascript", "java-kotlin" instead of "java", "c-cpp" instead of "cpp"). This avoids CodeQL treating these languages as separate entries in the code scanning tools page. Defaults to "false" to preserve backward compatibility with existing workflows.'
required: false
default: 'false'
outputs:
matrix:
description: 'Matrix definition including language and build-mode configurations'
languages:
description: 'List of languages that will set the job matrix (deprecated - use matrix instead)'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.access-token }}
- ${{ inputs.endpoint }}
- ${{ inputs.exclude }}
- ${{ inputs.build-mode-manual-override }}
- ${{ inputs.standard-language-names }}