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