Skip to content

Commit 960b774

Browse files
cpcloudclaude
andcommitted
fix: checkout release tag ref in check-release-notes job
Ensures the release-notes check validates the tagged tree, not the default branch HEAD. Without this, manually triggered runs could validate the wrong commit. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent b01e7c6 commit 960b774

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ jobs:
9494
steps:
9595
- name: Checkout Source
9696
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
97+
with:
98+
ref: ${{ inputs.git-tag }}
9799

98100
- name: Set up Python
99101
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0

0 commit comments

Comments
 (0)