From f516188e2ed41f7b766cb695f77c90a16d34ffa8 Mon Sep 17 00:00:00 2001 From: Oriol Date: Tue, 7 May 2024 12:02:18 +0200 Subject: [PATCH] chore: Use inputs instead of env vars for ghaction-import-gpg (#2243) * use inputs instead of env vars * use sha instead of version --- .github/workflows/run-script-and-commit.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/run-script-and-commit.yml b/.github/workflows/run-script-and-commit.yml index 1a5642ed0c..ccae0912a9 100644 --- a/.github/workflows/run-script-and-commit.yml +++ b/.github/workflows/run-script-and-commit.yml @@ -41,13 +41,12 @@ jobs: - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v6 + uses: crazy-max/ghaction-import-gpg@01dd5d3ca463c7f10f7f4f7b4f177225ac661ee4 with: + gpg_private_key: ${{ secrets.gpg_private_key }} + passphrase: ${{ secrets.passphrase }} git_user_signingkey: true git_commit_gpgsign: true - env: - GPG_PRIVATE_KEY: ${{ secrets.gpg_private_key }} - PASSPHRASE: ${{ secrets.passphrase }} - name: Commit changes run: |