Skip to content

Commit

Permalink
Pass custom token as input argument to action
Browse files Browse the repository at this point in the history
This was an oversight when adding a custom `token` argument. As a consequence, this doesn't work as expected:

```yaml
- uses: lycheeverse/[email protected]
  with: 
    token: ${{ secrets.CUSTOM_TOKEN }}
```

See lycheeverse/lychee#1353
  • Loading branch information
mre authored Jan 24, 2024
1 parent 8c9a282 commit 0ff48c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ runs:
id: lychee
env:
# https://github.com/actions/runner/issues/665
INPUT_GITHUB_TOKEN: ${{ inputs.GITHUB_TOKEN }}
INPUT_TOKEN: ${{ inputs.TOKEN }}
INPUT_ARGS: ${{ inputs.ARGS }}
INPUT_DEBUG: ${{ inputs.DEBUG }}
INPUT_FAIL: ${{ inputs.FAIL }}
Expand Down

0 comments on commit 0ff48c6

Please sign in to comment.