From 48b23a400a0bc0d1bf07255c91c029c4906fccf3 Mon Sep 17 00:00:00 2001 From: David Gogl <1381862+kengou@users.noreply.github.com> Date: Wed, 18 Dec 2024 11:23:48 +0100 Subject: [PATCH] fix(actions): license eye use secrets instead of input --- .github/workflows/shared-license.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/shared-license.yaml b/.github/workflows/shared-license.yaml index 0dfabca..77a9aaf 100644 --- a/.github/workflows/shared-license.yaml +++ b/.github/workflows/shared-license.yaml @@ -13,10 +13,10 @@ on: required: false default: true type: boolean + secrets: github_token: description: "The token to use for the job" required: false - type: string jobs: build-license-eye: @@ -51,7 +51,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - token: ${{ inputs.github_token != '' && inputs.github_token || secrets.GITHUB_TOKEN }} + token: ${{ secrets.github_token != '' && secrets.github_token || secrets.GITHUB_TOKEN }} repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }}