Fixes #69 Indicate the scope required for personal access tokens.
This commit is contained in:
@@ -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`.
|
- **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.
|
- **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).
|
- **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
|
## Action Outputs
|
||||||
- **id**: The identifier of the created release.
|
- **id**: The identifier of the created release.
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ inputs:
|
|||||||
default: ''
|
default: ''
|
||||||
token:
|
token:
|
||||||
description: 'The Github token.'
|
description: 'The Github token.'
|
||||||
required: true
|
required: false
|
||||||
default: ${{ github.token }}
|
default: ${{ github.token }}
|
||||||
outputs:
|
outputs:
|
||||||
id:
|
id:
|
||||||
|
|||||||
Reference in New Issue
Block a user