From 8f064d06f9bd864cd6ea682d3f552169759142c1 Mon Sep 17 00:00:00 2001 From: Rodrigo Antunes Date: Tue, 27 Aug 2024 13:43:55 -0300 Subject: [PATCH] Do not import GPG KEY for pull requests --- .github/workflows/publish-jitexecutor-native-rc.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/publish-jitexecutor-native-rc.yml b/.github/workflows/publish-jitexecutor-native-rc.yml index 6890232346..b0d2acc7c5 100644 --- a/.github/workflows/publish-jitexecutor-native-rc.yml +++ b/.github/workflows/publish-jitexecutor-native-rc.yml @@ -56,6 +56,7 @@ jobs: maven-version: 3.9.6 - name: Import GPG key + if: ${{ github.event_name }} != "pull_request" uses: crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549 with: gpg_private_key: ${{ secrets.GPG_KEY }}