From d40663f7e56a203b5a298fedf60323d5b29a235e Mon Sep 17 00:00:00 2001 From: Wesley Wigham Date: Mon, 14 Sep 2020 19:55:36 -0700 Subject: [PATCH] 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. --- .github/workflows/sync-branch.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/sync-branch.yaml b/.github/workflows/sync-branch.yaml index 6be9650a2ed..a8dd55b3c70 100644 --- a/.github/workflows/sync-branch.yaml +++ b/.github/workflows/sync-branch.yaml @@ -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