forked from advanced-security/set-codeql-language-matrix
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
25 lines (24 loc) · 683 Bytes
/
action.yml
File metadata and controls
25 lines (24 loc) · 683 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# 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
outputs:
languages:
description: 'List of languages that will set the job matrix'
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.access-token }}
- ${{ inputs.endpoint }}
- ${{ inputs.exclude }}