From 10a0675c96fbcf62f87421ba44c4a911967379ae Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 15 Dec 2025 06:22:39 +0000 Subject: [PATCH] Remove unused $headBeforeReset variable Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com> --- .github/workflows/vendor.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/vendor.yml b/.github/workflows/vendor.yml index 1f7a7a0..b5beec9 100644 --- a/.github/workflows/vendor.yml +++ b/.github/workflows/vendor.yml @@ -219,8 +219,7 @@ jobs: Write-Warning "Failed to auto-merge: $($_.Exception.Message)" - # Reset only if a commit was made (check if HEAD moved) - $headBeforeReset = git rev-parse HEAD + # Reset the commit if one was made if ($commitResult) { git reset --hard HEAD~1 }