mirror of
https://github.com/RetroDECK/components-template.git
synced 2024-11-21 19:05:39 +00:00
Rekku token: adding inputs
This commit is contained in:
parent
8627a9f89c
commit
d8b7be8907
6
.github/workflows/generate_rekku_token.yml
vendored
6
.github/workflows/generate_rekku_token.yml
vendored
|
@ -2,6 +2,10 @@ name: "Generate a token for Rekku"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_call:
|
||||||
|
inputs:
|
||||||
|
REKKU_PRIVATE_KEY:
|
||||||
|
required: false
|
||||||
|
type: string
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
Generate-a-token-for-Rekku:
|
Generate-a-token-for-Rekku:
|
||||||
|
@ -17,5 +21,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: ${{ secrets.REKKU_PRIVATE_KEY }}
|
private-key: ${{ inputs.REKKU_PRIVATE_KEY || secrets.REKKU_PRIVATE_KEY }}
|
||||||
owner: "RetroDECK"
|
owner: "RetroDECK"
|
||||||
|
|
Loading…
Reference in a new issue