Browse Source

Merge pull request #101 from google/ojarjur/unshallow-mirror-workflow

Make the PR-mirroring workflow use the entire history of the current branch
Omar Jarjur 11 months ago
parent
commit
e9b94fd0f2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      .github/workflows/mirror-pull-requests.yaml

+ 1 - 0
.github/workflows/mirror-pull-requests.yaml

@@ -27,6 +27,7 @@ jobs:
 
       - name: Fetch upstream refs
         run: |
+          git fetch origin --unshallow
           git fetch origin '+refs/heads/*:refs/remotes/origin/*'
           git fetch origin '+refs/heads/master:refs/heads/master' || git pull
           git fetch origin '+refs/tags/*:refs/tags/*'