Skip to content

Commit 52d7be2

Browse files
Merge branch 'open-feature:main' into feat/get-double
2 parents 5796dc5 + 1508c94 commit 52d7be2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/pullrequest.yml

+7-1
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,19 @@ jobs:
2828
${{ runner.os }}-maven-
2929
3030
- name: Configure GPG Key
31+
if: github.event.pull_request.head.repo.full_name == github.repository
3132
run: |
3233
echo -n "$GPG_SIGNING_KEY" | base64 --decode | gpg --import
3334
env:
3435
GPG_SIGNING_KEY: ${{ secrets.GPG_SIGNING_KEY }}
3536

3637
- name: Build with Maven
37-
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
3844
3945
- name: Upload coverage to Codecov
4046
uses: codecov/codecov-action@v2

0 commit comments

Comments
 (0)