From f6306ce3455e34e021a4cb7f59ac9475e614d1c0 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Fri, 8 Nov 2024 10:02:16 +0900 Subject: [PATCH] PR: fixing Rekku private key --- .github/workflows/pr_from_upstream.yml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/pr_from_upstream.yml b/.github/workflows/pr_from_upstream.yml index 5265a8b..373dedb 100644 --- a/.github/workflows/pr_from_upstream.yml +++ b/.github/workflows/pr_from_upstream.yml @@ -19,21 +19,12 @@ jobs: git checkout "${{ github.ref_name }}" git branch --set-upstream-to=upstream/${{ github.ref_name }} ${{ github.ref_name }} - - name: Debug Private Key - run: | - echo "Testing access to REKKU_PRIVATE_KEY" - if [ -z "${{ secrets.REKKU_PRIVATE_KEY }}" ]; then - echo "Error: secret REKKU_PRIVATE_KEY not available." - exit 1 - fi - echo "Secret REKKU_PRIVATE_KEY available." - - name: Generate a token for Rekku id: generate-rekku-token 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 }} owner: "RetroDECK" - name: Configuring Git