mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-21 19:05:39 +00:00
Rekku token: turning inputs into secrets
This commit is contained in:
parent
d8b7be8907
commit
08033954dc
5
.github/workflows/generate_rekku_token.yml
vendored
5
.github/workflows/generate_rekku_token.yml
vendored
|
@ -2,10 +2,9 @@ name: "Generate a token for Rekku"
|
|||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
secrets:
|
||||
REKKU_PRIVATE_KEY:
|
||||
required: false
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
Generate-a-token-for-Rekku:
|
||||
|
@ -21,5 +20,5 @@ jobs:
|
|||
uses: actions/create-github-app-token@v1
|
||||
with:
|
||||
app-id: ${{ vars.REKKU_APP_ID }}
|
||||
private-key: ${{ inputs.REKKU_PRIVATE_KEY || secrets.REKKU_PRIVATE_KEY }}
|
||||
private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
|
||||
owner: "RetroDECK"
|
||||
|
|
Loading…
Reference in a new issue