Skip to content

Commit

Permalink
Pass custom token as input argument to action (#222)
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/lychee-action@v1.9.0
  with: 
    token: ${{ secrets.CUSTOM_TOKEN }}
```

See lycheeverse/lychee#1353
  • Loading branch information
mre committed Jan 29, 2024
1 parent eeb9cb6 commit c053181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion action.yml
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 c053181

Please sign in to comment.