From fbced1ccf8b3d1c27fddc4f1766a541a70855518 Mon Sep 17 00:00:00 2001 From: mlsmaycon Date: Mon, 23 Mar 2026 14:53:26 +0100 Subject: [PATCH] Add condition to GPG key decoding to handle pull requests --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1a4676625..17fff8a04 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -170,6 +170,7 @@ jobs: run: sudo apt update && sudo apt install -y -q gcc-arm-linux-gnueabihf gcc-aarch64-linux-gnu - name: Decode GPG signing key + if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository env: GPG_RPM_PRIVATE_KEY: ${{ secrets.GPG_RPM_PRIVATE_KEY }} run: |