Rekku token: turning inputs into secrets

This commit is contained in:
XargonWan 2024-11-12 11:36:40 +09:00
parent d8b7be8907
commit 08033954dc

View file

@ -2,10 +2,9 @@ name: "Generate a token for Rekku"
on: on:
workflow_call: workflow_call:
inputs: secrets:
REKKU_PRIVATE_KEY: REKKU_PRIVATE_KEY:
required: false required: false
type: string
jobs: jobs:
Generate-a-token-for-Rekku: Generate-a-token-for-Rekku:
@ -21,5 +20,5 @@ jobs:
uses: actions/create-github-app-token@v1 uses: actions/create-github-app-token@v1
with: with:
app-id: ${{ vars.REKKU_APP_ID }} app-id: ${{ vars.REKKU_APP_ID }}
private-key: ${{ inputs.REKKU_PRIVATE_KEY || secrets.REKKU_PRIVATE_KEY }} private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
owner: "RetroDECK" owner: "RetroDECK"