Skip to content

Commit 66e3783

Browse files
committed
Document action.inputs.token
1 parent 74849de commit 66e3783

File tree

4 files changed

+5
-0
lines changed

4 files changed

+5
-0
lines changed

analyze/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ inputs:
6969
required: true
7070
default: "true"
7171
token:
72+
description: "Token for accessing /code-scanning/analysis endpoints (used by `upload-database` and `upload`)"
73+
required: false
7274
default: ${{ github.token }}
7375
matrix:
7476
default: ${{ toJson(matrix) }}

autobuild/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: 'Attempt to automatically build code'
33
author: 'GitHub'
44
inputs:
55
token:
6+
description: "Token for accessing /code-scanning/analysis endpoints (used to for status reporting)"
67
default: ${{ github.token }}
78
matrix:
89
default: ${{ toJson(matrix) }}

resolve-environment/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ description: '[Experimental] Attempt to infer a build environment suitable for a
33
author: 'GitHub'
44
inputs:
55
token:
6+
description: "Token for accessing /code-scanning/analysis endpoints (used for ???)"
67
default: ${{ github.token }}
78
matrix:
89
default: ${{ toJson(matrix) }}

upload-sarif/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ inputs:
2020
description: "The sha of the HEAD of the ref where results will be uploaded. If not provided, the Action will use the GITHUB_SHA environment variable. If provided, the ref input must be provided as well. This input is ignored for pull requests from forks."
2121
required: false
2222
token:
23+
description: "Token for accessing /code-scanning/analysis endpoints (used to publish sarif -- generally requires `security-events: write`)"
2324
default: ${{ github.token }}
2425
matrix:
2526
default: ${{ toJson(matrix) }}

0 commit comments

Comments
 (0)