Skip to content

Commit b09d2fb

Browse files
Update tests.yml
1 parent 26e16f5 commit b09d2fb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ jobs:
6969
steps:
7070
- name: Checkout code
7171
uses: actions/checkout@v2
72-
72+
with:
73+
fetch-depth: 3
7374
- name: Setup PHP
7475
uses: shivammathur/setup-php@v2
7576
with:
@@ -92,4 +93,4 @@ jobs:
9293
uses: sudo-bot/action-scrutinizer@latest
9394
if: github.repository == 'imanghafoori1/laravel-widgetize'
9495
with:
95-
cli-args: "--format=php-clover ./coverage.xml --revision=master"
96+
cli-args: "--format=php-clover ./coverage.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}"

0 commit comments

Comments
 (0)