Skip to content

Commit 9e39a05

Browse files
authored
Document action.inputs.token (#2110)
1 parent cf7e9f2 commit 9e39a05

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-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: "GitHub token to use for authenticating with this instance of GitHub. The token needs the `security-events: write` permission."
73+
required: false
7274
default: ${{ github.token }}
7375
matrix:
7476
default: ${{ toJson(matrix) }}

autobuild/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ description: 'Attempt to automatically build code'
33
author: 'GitHub'
44
inputs:
55
token:
6+
description: "GitHub token to use for authenticating with this instance of GitHub. The token needs the `security-events: write` permission."
7+
required: false
68
default: ${{ github.token }}
79
matrix:
810
default: ${{ toJson(matrix) }}

resolve-environment/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ description: '[Experimental] Attempt to infer a build environment suitable for a
33
author: 'GitHub'
44
inputs:
55
token:
6+
description: "GitHub token to use for authenticating with this instance of GitHub. The token needs the `security-events: write` permission."
7+
required: false
68
default: ${{ github.token }}
79
matrix:
810
default: ${{ toJson(matrix) }}

upload-sarif/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ 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: "GitHub token to use for authenticating with this instance of GitHub. The token needs the `security-events: write` permission."
24+
required: false
2325
default: ${{ github.token }}
2426
matrix:
2527
default: ${{ toJson(matrix) }}

0 commit comments

Comments
 (0)