Skip to content

Commit

Permalink
Pull all history in branch sync script
Browse files Browse the repository at this point in the history
This got broken when it got updated to checkout@v2, which by default only checks out the specified ref and none of its history.
  • Loading branch information
weswigham committed Sep 15, 2020
1 parent dba042d commit d40663f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/sync-branch.yaml
Expand Up @@ -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
Expand Down

0 comments on commit d40663f

Please sign in to comment.