Fixes #69 Indicate the scope required for personal access tokens.

This commit is contained in:
Nick Cipollo
2021-09-12 18:05:30 -04:00
parent c18d31567a
commit e97ceb3e08
2 changed files with 2 additions and 2 deletions

View File

@@ -26,7 +26,7 @@ This action will create a GitHub release and optionally upload an artifact to it
- **replacesArtifacts**: Indicates if existing release artifacts should be replaced. Defaults to `true`.
- **repo**: Optionally specify the repo where the release should be generated. Defaults to current repo.
- **tag**: An optional tag for the release. If this is omitted the git ref will be used (if it is a tag).
- **token**: (**Required**) The GitHub token. Typically this will be `${{ secrets.GITHUB_TOKEN }}`.
- **token**: The GitHub token. Typically, this will be `${{ secrets.GITHUB_TOKEN }}`. If you are using a personal access token it should have access to the `repo` scope.
## Action Outputs
- **id**: The identifier of the created release.

View File

@@ -93,7 +93,7 @@ inputs:
default: ''
token:
description: 'The Github token.'
required: true
required: false
default: ${{ github.token }}
outputs:
id: