From b0408b2d2904cebe9ffc0b79e88b2044e26ca069 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Darveau?= Date: Mon, 28 Jun 2021 18:28:12 -0400 Subject: [PATCH] fetch all history when syncing fork --- .github/workflows/merge-upstream-master.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/merge-upstream-master.yml b/.github/workflows/merge-upstream-master.yml index 1990770..280b8e6 100644 --- a/.github/workflows/merge-upstream-master.yml +++ b/.github/workflows/merge-upstream-master.yml @@ -15,9 +15,10 @@ jobs: steps: # Step 1: run a standard checkout action, provided by github - name: Checkout main - uses: actions/checkout@v2 + uses: actions/checkout@v2.3.4 with: ref: master + fetch-depth: 0 # submodules: 'recursive' ### may be needed in your situation # Step 2: run this sync action - specify the upstream repo, upstream branch to sync with, and target sync branch