Skip to content

Commit

Permalink
rename github-token input to github_token (fix #4)
Browse files Browse the repository at this point in the history
because github-token is mapped to invalid environment variable name
`INPUT_GITHUB-TOKEN`. The variable cannot be referred via bash because
`-` has special meaning in `${...}` expansion.
This change is not breaking change because previous `github-token` input
was completely wrong.
  • Loading branch information
rhysd committed Feb 24, 2021
1 parent 5da8faf commit d61c92e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ branding:
color: 'blue'

inputs:
github-token:
github_token:
description: GitHub API token for pushing the commit to update changelog. Please pass secrets.GITHUB_TOKEN
required: true
file:
Expand Down

0 comments on commit d61c92e

Please sign in to comment.