Skip to content

Commit 08487db

Browse files
authoredMay 13, 2024··
Merge pull request #2284 from github/NlightNFotis/add_tools_help
Add documentation for the `tools` option in the various workflow files
2 parents 5a14b05 + 4f59156 commit 08487db

File tree

3 files changed

+32
-4
lines changed

3 files changed

+32
-4
lines changed
 

‎.github/actions/check-codescanning-config/action.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,16 @@ inputs:
2929
tools:
3030
required: true
3131
description: |
32-
The url of codeql to use.
32+
The version of CodeQL passed to the `tools` input of the init action.
33+
This can be any of the following:
34+
35+
- A local path to a tarball containing the CodeQL tools, or
36+
- A URL to a GitHub release assets containing the CodeQL tools, or
37+
- A special value `linked` which is forcing the use of the CodeQL tools
38+
that the action has been bundled with.
39+
40+
If not specified, the Action will check in several places until it finds
41+
the CodeQL tools.
3342
3443
runs:
3544
using: composite

‎.github/actions/query-filter-test/action.yml

+10-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,16 @@ inputs:
2323
tools:
2424
required: true
2525
description: |
26-
The url of codeql to use.
26+
The version of CodeQL passed to the `tools` input of the init action.
27+
This can be any of the following:
28+
29+
- A local path to a tarball containing the CodeQL tools, or
30+
- A URL to a GitHub release assets containing the CodeQL tools, or
31+
- A special value `linked` which is forcing the use of the CodeQL tools
32+
that the action has been bundled with.
33+
34+
If not specified, the Action will check in several places until it finds
35+
the CodeQL tools.
2736
2837
runs:
2938
using: composite

‎init/action.yml

+12-2
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,19 @@ description: 'Set up CodeQL'
33
author: 'GitHub'
44
inputs:
55
tools:
6-
description: URL of CodeQL 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+
16+
If not specified, the Action will check in several places until it finds
17+
the CodeQL tools.
718
required: false
8-
# If not specified the Action will check in several places until it finds the CodeQL tools.
919
languages:
1020
description: >-
1121
A comma-separated list of CodeQL languages to analyze.

0 commit comments

Comments
 (0)
Please sign in to comment.