From 618342a9e9f6ce10843b6b202d32a3351c262e82 Mon Sep 17 00:00:00 2001 From: Akira Komamura Date: Sat, 30 Dec 2023 21:08:16 +0900 Subject: [PATCH] ci(reset): Fetch the revision --- .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 d021107d14c..7b4e40984a9 100644 --- a/.github/workflows/reset-on-merge.yml +++ b/.github/workflows/reset-on-merge.yml @@ -38,6 +38,7 @@ jobs: - name: Reset run: | + git fetch origin "$rev" git reset --hard "$rev" env: rev: ${{ github.head_ref }}