From d8b7be890760fe5da8f3719cebd5238ff5551d31 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Tue, 12 Nov 2024 11:32:06 +0900 Subject: [PATCH] Rekku token: adding inputs --- .github/workflows/generate_rekku_token.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate_rekku_token.yml b/.github/workflows/generate_rekku_token.yml index e6464b8..1d91981 100644 --- a/.github/workflows/generate_rekku_token.yml +++ b/.github/workflows/generate_rekku_token.yml @@ -2,6 +2,10 @@ name: "Generate a token for Rekku" on: workflow_call: + inputs: + REKKU_PRIVATE_KEY: + required: false + type: string jobs: Generate-a-token-for-Rekku: @@ -17,5 +21,5 @@ jobs: uses: actions/create-github-app-token@v1 with: app-id: ${{ vars.REKKU_APP_ID }} - private-key: ${{ secrets.REKKU_PRIVATE_KEY }} + private-key: ${{ inputs.REKKU_PRIVATE_KEY || secrets.REKKU_PRIVATE_KEY }} owner: "RetroDECK"