From aad7011b1cff26bbaf9cf3f56925546d577626d0 Mon Sep 17 00:00:00 2001 From: bbedward Date: Fri, 13 Mar 2026 12:22:27 -0400 Subject: [PATCH] ci: fix hardcoded branch in vendor workflow --- .github/workflows/update-vendor-hash.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-vendor-hash.yml b/.github/workflows/update-vendor-hash.yml index e8e7d12a..77d3a751 100644 --- a/.github/workflows/update-vendor-hash.yml +++ b/.github/workflows/update-vendor-hash.yml @@ -59,8 +59,8 @@ jobs: git config user.email "dms-ci[bot]@users.noreply.github.com" git add flake.nix git commit -m "nix: update vendorHash for go.mod changes" || exit 0 - git pull --rebase origin master - git push https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git HEAD:master + git pull --rebase origin ${{ github.ref_name }} + git push https://x-access-token:${GH_TOKEN}@github.com/${{ github.repository }}.git HEAD:${{ github.ref_name }} else echo "No changes to flake.nix" fi