feat: deprecate GITHUB_TOKEN env var and use token input instead with default value (#112)

* deprecate GITHUB_TOKEN env var and use token input instead with default value

* update readme

* npm run lint:fix
This commit is contained in:
Benedek Kozma
2020-12-22 20:18:16 +01:00
committed by GitHub
parent 401756f9f0
commit 75a30a545a
3 changed files with 14 additions and 15 deletions

View File

@@ -38,6 +38,10 @@ inputs:
tag:
description: Arguments for the git tag command (the tag name always needs to be the first word not preceded by a hyphen)
required: false
token:
description: 'GITHUB_TOKEN or a `repo` scoped Personal Access Token (PAT)'
required: false
default: ${{ github.token }}
outputs:
committed: