Skip to content

Commit efae54f

Browse files
committed
Skip GPG signing on PRs
Signed-off-by: Marvin Froeder <marvin@datasqrl.com>
1 parent 6a11362 commit efae54f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
java-version: '11'
3636

3737
- name: Import GPG Key
38+
if: github.event_name != 'pull_request'
3839
env:
3940
GPG_PRIVATE_KEY: ${{ secrets.GPG_PRIVATE_KEY }}
4041
run: |
@@ -75,6 +76,6 @@ jobs:
7576
elif [[ "${{ github.ref_name }}" == "main" ]]; then
7677
mvn -B clean deploy -Pci,flink-1.19
7778
else
78-
mvn -B clean install -Pci,flink-1.19
79+
mvn -B clean install -Pci,flink-1.19 -Dgpg.skip=true
7980
fi
8081

0 commit comments

Comments
 (0)