From 3fd58795c84574bb30a365281d4fc7d55ce8367f Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Tue, 7 May 2024 11:05:54 +0200 Subject: [PATCH 1/2] use inputs instead of env vars --- .github/workflows/run-script-and-commit.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-script-and-commit.yml b/.github/workflows/run-script-and-commit.yml index 1a5642ed0c..5ad43af688 100644 --- a/.github/workflows/run-script-and-commit.yml +++ b/.github/workflows/run-script-and-commit.yml @@ -43,11 +43,10 @@ jobs: id: import_gpg uses: crazy-max/ghaction-import-gpg@v6 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: | From aaaca9b0959503b4d7ea61c38dd69d767e6c46cd Mon Sep 17 00:00:00 2001 From: Oriol Arbusi Date: Tue, 7 May 2024 11:47:55 +0200 Subject: [PATCH 2/2] use sha instead of version --- .github/workflows/run-script-and-commit.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/run-script-and-commit.yml b/.github/workflows/run-script-and-commit.yml index 5ad43af688..ccae0912a9 100644 --- a/.github/workflows/run-script-and-commit.yml +++ b/.github/workflows/run-script-and-commit.yml @@ -41,7 +41,7 @@ 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 }}