PR: fixing Rekku private key - migrating to secrets

This commit is contained in:
XargonWan 2024-11-08 10:12:09 +09:00
parent 863763aa79
commit 68ec08e7da

View file

@ -3,11 +3,10 @@ name: "Sync with Upstream and Create PR"
on: on:
workflow_dispatch: workflow_dispatch:
workflow_call: workflow_call:
inputs: secrets:
REKKU_PRIVATE_KEY: REKKU_PRIVATE_KEY:
description: 'Private key for Rekku' description: 'Private key for Rekku'
required: true required: true
type: string
jobs: jobs:
sync-upstream: sync-upstream:
@ -29,7 +28,7 @@ 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 }} private-key: ${{ secrets.REKKU_PRIVATE_KEY }}
owner: "RetroDECK" owner: "RetroDECK"
- name: Configuring Git - name: Configuring Git