diff --git a/.github/workflows/gh-pages-sync.yaml b/.github/workflows/gh-pages-sync.yaml index cd4f4cae6a..1db5acf90b 100644 --- a/.github/workflows/gh-pages-sync.yaml +++ b/.github/workflows/gh-pages-sync.yaml @@ -11,7 +11,7 @@ defaults: shell: bash permissions: - contents: write + contents: read jobs: sync: @@ -32,6 +32,18 @@ jobs: fetch-depth: "0" token: ${{ secrets.GH_ACCESS_TOKEN_HG }} + - name: Import GPG Key + id: gpg_importer + uses: step-security/ghaction-import-gpg@a7c87df2279f2bf2e69ba8289dfbf35fe05a4e08 # v1.0.0 + with: + git_commit_gpgsign: true + git_committer_email: ${{ vars.GIT_USER_EMAIL }} + git_committer_name: ${{ vars.GIT_USER_NAME }} + git_tag_gpgsign: true + git_user_signingkey: true + gpg_private_key: ${{ secrets.GPG_KEY_CONTENTS }} + passphrase: ${{ secrets.GPG_KEY_PASSPHRASE }} + - name: Add Remote run: git remote add HIERO https://github.com/hiero-ledger/hiero-json-rpc-relay.git diff --git a/.github/workflows/release-automation.yml b/.github/workflows/release-automation.yml index 8df355c473..df32269f94 100644 --- a/.github/workflows/release-automation.yml +++ b/.github/workflows/release-automation.yml @@ -62,6 +62,8 @@ jobs: uses: step-security/ghaction-import-gpg@a7c87df2279f2bf2e69ba8289dfbf35fe05a4e08 # v1.0.0 with: git_commit_gpgsign: true + git_committer_email: ${{ vars.GIT_USER_EMAIL }} + git_committer_name: ${{ vars.GIT_USER_NAME }} git_tag_gpgsign: true git_user_signingkey: true gpg_private_key: ${{ secrets.GPG_KEY_CONTENTS }}