From c053181aa0c3d17606addfe97a9075a32723548a Mon Sep 17 00:00:00 2001 From: Matthias Endler Date: Mon, 29 Jan 2024 12:11:36 +0100 Subject: [PATCH] Pass custom `token` as input argument to action (#222) 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 https://github.com/lycheeverse/lychee/discussions/1353 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index e28d01b..216a4bd 100644 --- a/action.yml +++ b/action.yml @@ -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 }}