From 0e154b8b56d4701c35de5b9341ee49d917a5c656 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Fri, 24 Nov 2023 20:29:02 +0900 Subject: [PATCH] ci: Fetch the full history to identify the parent commit To prevent a failure like in https://github.com/akirak/melpa/actions/runs/6979450103 --- .github/workflows/reset-on-merge.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/reset-on-merge.yml b/.github/workflows/reset-on-merge.yml index bac70bf164b..d021107d14c 100644 --- a/.github/workflows/reset-on-merge.yml +++ b/.github/workflows/reset-on-merge.yml @@ -20,6 +20,7 @@ jobs: - uses: actions/checkout@v4 with: + fetch-depth: 0 ref: ${{ github.base_ref }} - name: Tag the last head revision