File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Expand file tree Collapse file tree 1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -21,14 +21,12 @@ jobs:
21
21
- " ubuntu-latest"
22
22
23
23
steps :
24
- - name : " Checkout github.base_ref branch (for diffing)"
25
- uses : " actions/checkout@v2"
26
- with :
27
- ref : ${{ github.base_ref }}
28
-
29
24
- name : " Checkout"
30
25
uses : " actions/checkout@v2"
31
26
27
+ - name : " Fetch github.base_ref (for diffing)"
28
+ run : git fetch --depth=1 origin +refs/heads/${{github.base_ref}}:refs/remotes/origin/${{github.base_ref}
29
+
32
30
- name : " Install PHP"
33
31
uses : " shivammathur/setup-php@v2"
34
32
with :
62
60
vendor/bin/roave-infection-static-analysis-plugin \
63
61
--ignore-msi-with-no-mutations \
64
62
--git-diff-filter=AM \
65
- --git-diff-base=$GITHUB_BASE_REF
63
+ --git-diff-base=origin/${{ github.base_ref }}
66
64
env :
67
65
INFECTION_BADGE_API_KEY : ${{ secrets.INFECTION_BADGE_API_KEY }}
68
66
STRYKER_DASHBOARD_API_KEY : ${{ secrets.STRYKER_DASHBOARD_API_KEY }}
69
- GITHUB_BASE_REF : ${{ github.base_ref }}
70
-
You can’t perform that action at this time.
0 commit comments