From ef9fc016541ef32c0bf04392bbb785de024311d3 Mon Sep 17 00:00:00 2001 From: Jamie Nelson Date: Sun, 11 Oct 2026 12:01:59 +1100 Subject: [PATCH] fix(ci): push dependency bundles without rewriting branch history --- .github/workflows/package-dependabot.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/package-dependabot.yml b/.github/workflows/package-dependabot.yml index 0287a3a..1ac0b0f 100644 --- a/.github/workflows/package-dependabot.yml +++ b/.github/workflows/package-dependabot.yml @@ -30,7 +30,6 @@ jobs: - name: Commit updated action bundle env: BRANCH: ${{ github.event.pull_request.head.ref }} - EXPECTED_SHA: ${{ github.event.pull_request.head.sha }} run: | if git diff --quiet -- dist; then exit 0 @@ -39,4 +38,4 @@ jobs: git config user.email '41898282+github-actions[bot]@users.noreply.github.com' git add -- dist git commit -m 'chore: rebuild packaged action for dependency update' - git push origin "HEAD:refs/heads/$BRANCH" --force-with-lease="refs/heads/$BRANCH:$EXPECTED_SHA" + git push origin "HEAD:refs/heads/$BRANCH"