From a5d18b9382e56dffda0b85fe85b3dbae07231d27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michalina=20Ciencia=C5=82a?= <78352137+michalinacienciala@users.noreply.github.com> Date: Fri, 20 Oct 2023 18:43:28 +0200 Subject: [PATCH] Update sync-branches.yml fetch depth --- .github/workflows/sync-branches.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/sync-branches.yml b/.github/workflows/sync-branches.yml index 5c253ca..ec541f4 100644 --- a/.github/workflows/sync-branches.yml +++ b/.github/workflows/sync-branches.yml @@ -10,11 +10,12 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + fetch-depth: '0' - name: Sync `stage-fork` with `stage-live` env: GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} run: | - git pull --all git log -n 5 --oneline > commit_history.txt cat commit_history.txt git checkout stage-live