Skip to content

Commit

Permalink
Fix/license eye (#19)
Browse files Browse the repository at this point in the history
* fix(actions): possibility to use custom token to tigger license eye

* fix(actions): license eye use secrets instead of input
  • Loading branch information
kengou authored Dec 18, 2024
1 parent fabe229 commit 0ad9333
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/shared-license.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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 }}

Expand Down

0 comments on commit 0ad9333

Please sign in to comment.