Fix incorrect documentation about the token input to the Actions.

This commit is contained in:
Chris Gavin 2024-09-13 10:04:17 +01:00
parent 4a01ec7986
commit d795ead7df
No known key found for this signature in database
GPG key ID: 07F950B80C27E4DA
2 changed files with 2 additions and 2 deletions

View file

@ -74,7 +74,7 @@ inputs:
required: true
default: "true"
token:
description: "GitHub token to use for authenticating with this instance of GitHub. The token needs the `security-events: write` permission."
description: "GitHub token to use for authenticating with this instance of GitHub. The token must be the built-in GitHub Actions token, and the workflow should have the `security-events: write` permission."
required: false
default: ${{ github.token }}
matrix:

View file

@ -20,7 +20,7 @@ inputs:
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."
required: false
token:
description: "GitHub token to use for authenticating with this instance of GitHub. The token needs the `security-events: write` permission."
description: "GitHub token to use for authenticating with this instance of GitHub. The token must be the built-in GitHub Actions token, and the workflow should have the `security-events: write` permission."
required: false
default: ${{ github.token }}
matrix: