Skip to content

Commit 96bf616

Browse files
committed
Try to Get Coveralls Working with Pull Requests
1 parent 4c1b802 commit 96bf616

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/coveralls.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ jobs:
3232
with:
3333
java-version: 8
3434
- name: Report Coverage to Coveralls for Pull Requests
35-
if: github.event.name == 'pull_request'
35+
if: github.event_name == 'pull_request'
3636
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github -DpullRequest=$PR_NUMBER
3737
env:
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3939
PR_NUMBER: ${{ github.event.number }}
4040
- name: Report Coverage to Coveralls for General Push
41-
if: github.event.name == 'push'
41+
if: github.event_name == 'push'
4242
run: ./mvnw test jacoco:report coveralls:report -q -Dlicense.skip=true -DrepoToken=$GITHUB_TOKEN -DserviceName=github
4343
env:
4444
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)