From 706a0527a560f4c3d194d12153f1fb5fe6aeb948 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 }}