From cce3eacc49d281fd087ebf0d43eea3e08038033f Mon Sep 17 00:00:00 2001 From: Ogulcan Celik Date: Tue, 2 Jun 2026 23:55:53 +0300 Subject: [PATCH] fix: allow preview publish after master moves --- .github/workflows/preview.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index dfe9cd87..5963f1b0 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -234,16 +234,6 @@ jobs: fetch-depth: 0 persist-credentials: false - - name: Verify built commit is still current master - run: | - set -euo pipefail - git fetch origin master --tags - remote_head="$(git rev-parse origin/master)" - if [ "$remote_head" != "${{ needs.preflight.outputs.commit }}" ]; then - echo "error: origin/master moved from built commit; aborting preview publish" >&2 - exit 1 - fi - - name: Download all artifacts uses: actions/download-artifact@v8 with: