Skip to content

Commit

Permalink
fix(actions): license eye use secrets instead of input
Browse files Browse the repository at this point in the history
  • Loading branch information
kengou committed Dec 18, 2024
1 parent af6e672 commit 48b23a4
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 48b23a4

Please sign in to comment.