Pull all history in branch sync script

This got broken when it got updated to checkout@v2, which by default only checks out the specified ref and none of its history.
This commit is contained in:
Wesley Wigham 2020-09-14 19:55:36 -07:00 committed by GitHub
parent dba042d7d5
commit d40663f7e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,6 +21,7 @@ jobs:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch_name || github.event.client_payload.branch_name }}
fetch-depth: 0
# This does a test post-merge and only pushes the result if the test succeeds
# required client_payload members:
# branch_name - the target branch