google / git-appraise

Distributed code review system for Git repos
Apache License 2.0
5.12k stars 145 forks source link

Make the PR-mirroring workflow use the entire history of the current branch #101

Closed ojarjur closed 4 years ago

ojarjur commented 4 years ago

The default behavior of the GitHub workflow is to only fetch the last commit of the current branch (resulting in a shallow repository).

This causes issues for the workflow to mirror pull request metadata into git-notes, as the full history of the repository is necessary in order for that to work.

This change fixes that by modifying the local repository to no longer be a shallow clone.