Skip to content

Commit 5141012

Browse files
cpcloudcursoragent
andcommitted
Check out requested release commit in prepare job
Running prepare-time file checks from the selected SHA keeps release notes and CTK inputs consistent with the commit that is actually tagged and released. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4a2ab03 commit 5141012

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/release-cuda-pathfinder.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,12 @@ jobs:
101101
echo "commit=${commit}" >> "$GITHUB_OUTPUT"
102102
echo "Using release commit: ${commit}"
103103
104+
- name: Check out release commit
105+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
106+
with:
107+
fetch-depth: 0
108+
ref: ${{ steps.commit.outputs.commit }}
109+
104110
- name: Check release notes exist
105111
env:
106112
VERSION: ${{ steps.vars.outputs.version }}

0 commit comments

Comments
 (0)