We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5796dc5 + 1508c94 commit 52d7be2Copy full SHA for 52d7be2
.github/workflows/pullrequest.yml
@@ -28,13 +28,19 @@ jobs:
28
${{ runner.os }}-maven-
29
30
- name: Configure GPG Key
31
+ if: github.event.pull_request.head.repo.full_name == github.repository
32
run: |
33
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
34
env:
35
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
36
37
- name: Build with Maven
- run: mvn --batch-mode --update-snapshots verify
38
+ run: |
39
+ if [ ${{ github.event.pull_request.head.repo.full_name }} = ${{ github.repository }} ]; then
40
+ mvn --batch-mode --update-snapshots verify
41
+ else
42
+ mvn --batch-mode --update-snapshots verify -Dgpg.skip
43
+ fi
44
45
- name: Upload coverage to Codecov
46
uses: codecov/codecov-action@v2
0 commit comments