Skip to content

Commit

Permalink
Fetch full history to allow finding common ancestor, not just last co…
Browse files Browse the repository at this point in the history
…mmit
  • Loading branch information
bdsl committed Jan 25, 2022
1 parent 37fdf6c commit a353a44
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/mt-annotations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v2

with:
fetch-depth: 0
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -47,5 +48,5 @@ jobs:
- name: Run Infection for added files only
run: |
git fetch --depth=1 origin $GITHUB_BASE_REF
git fetch origin $GITHUB_BASE_REF
php bin/infection -j2 --git-diff-lines --git-diff-base=origin/$GITHUB_BASE_REF --logger-github --ignore-msi-with-no-mutations --only-covered

0 comments on commit a353a44

Please sign in to comment.