From 1bc7a0c23df0255ee9676da868277f9232bfff1a Mon Sep 17 00:00:00 2001 From: b-long Date: Sun, 1 Nov 2026 19:32:14 -0500 Subject: [PATCH] ci: publish release tag, not triggering commit --- .github/workflows/release-please.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml index 8dd5df2..7265e79 100644 --- a/.github/workflows/release-please.yaml +++ b/.github/workflows/release-please.yaml @@ -25,6 +25,7 @@ jobs: outputs: releases_created: ${{ steps.release-main.outputs.releases_created }} paths_released: ${{ steps.release-main.outputs.paths_released }} + tag_name: ${{ steps.release-main.outputs.tag_name }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: @@ -49,8 +50,10 @@ jobs: if: ${{ needs.release-please.outputs.releases_created == 'true' }} runs-on: ubuntu-latest steps: + # Build the release tag, not the commit that triggered this run - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: + ref: refs/tags/${{ needs.release-please.outputs.tag_name }} persist-credentials: false - name: Install uv