From a75aec0f8ca1ffc46c1441467a939390afe91af3 Mon Sep 17 00:00:00 2001 From: lleyton Date: Mon, 5 Dec 2022 02:06:58 -0800 Subject: [PATCH] I regret not using a GPG key (#56) --- .github/workflows/update.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 41f98743b5..4eadbef800 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -23,11 +23,8 @@ jobs: fetch-depth: 2 ssh-key: ${{ secrets.SSH_AUTHENTICATION_KEY }} - - name: Install SSH key - uses: shimataro/ssh-key-action@v2 - with: - key: ${{ secrets.SSH_SIGNING_KEY }} - known_hosts: unnecessary + - name: Install SSH signing key + run: echo "${{ secrets.SSH_SIGNING_KEY }}" > ${{ runner.temp }}/signing_key - name: Run Update (Python) run: bash ./update.sh @@ -46,7 +43,7 @@ jobs: git config user.name "Raboneko" git config user.email "raboneko@fyralabs.com" git config gpg.format "ssh" - git config user.signingkey "${{ secrets.SSH_PUBLIC_SIGNING_KEY }}" + git config user.signingkey "${{ runner.temp }}/signing_key" git commit -S -a -m "Automatic Update: $(git status | grep modified | sed -r 's@.+/([^/]+)/[^/]+\n?@\1 @g' | tr -d '\n')" git push -u origin main fi