Skip to content

Commit 4f18f5a

Browse files
committed
Add initial setup-codeql action
1 parent 17783bf commit 4f18f5a

File tree

4 files changed

+87921
-0
lines changed

4 files changed

+87921
-0
lines changed

.github/setup-codeql/action.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: 'CodeQL: Setup'
2+
description: 'Installs the CodeQL CLI'
3+
author: 'GitHub'
4+
inputs:
5+
tools:
6+
description: >-
7+
By default, the Action will use the recommended version of the CodeQL
8+
Bundle to analyze your project. You can override this choice using this
9+
input. One of:
10+
11+
- A local path to a CodeQL Bundle tarball, or
12+
- The URL of a CodeQL Bundle tarball GitHub release asset, or
13+
- A special value `linked` which uses the version of the CodeQL tools
14+
that the Action has been bundled with.
15+
- A special value `nightly` which uses the latest nightly version of the
16+
CodeQL tools. Note that this is unstable and not recommended for
17+
production use.
18+
19+
If not specified, the Action will check in several places until it finds
20+
the CodeQL tools.
21+
required: false
22+
token:
23+
description: GitHub token to use for authenticating with this instance of GitHub. To download custom packs from multiple registries, use the registries input.
24+
default: ${{ github.token }}
25+
required: false
26+
matrix:
27+
default: ${{ toJson(matrix) }}
28+
required: false
29+
external-repository-token:
30+
description: A token for fetching external config files and queries if they reside in a private repository in the same GitHub instance that is running this action.
31+
required: false
32+
outputs:
33+
codeql-path:
34+
description: The path of the CodeQL binary used for analysis
35+
codeql-version:
36+
description: The version of the CodeQL binary used for analysis
37+
runs:
38+
using: node24
39+
main: '../lib/setup-codeql-action.js'

0 commit comments

Comments
 (0)