Skip to content

Commit

Permalink
Fixes #69 Indicate the scope required for personal access tokens.
Browse files Browse the repository at this point in the history
  • Loading branch information
ncipollo committed Sep 12, 2021
1 parent c18d315 commit e97ceb3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Expand Up @@ -93,7 +93,7 @@ inputs:
default: ''
token:
description: 'The Github token.'
required: true
required: false
default: ${{ github.token }}
outputs:
id:
Expand Down

0 comments on commit e97ceb3

Please sign in to comment.