Skip to content

Commit 2f6cc0f

Browse files
committed
[CI] Update finalize-release workflow to use dynamic tag reference for checkout
1 parent 1c375f5 commit 2f6cc0f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/finalize-release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
permissions:
2222
contents: write
2323
timeout-minutes: 10
24-
24+
2525
outputs:
2626
version: ${{ steps.get_version.outputs.version }}
2727

@@ -39,7 +39,7 @@ jobs:
3939
- name: Checkout main
4040
uses: actions/checkout@v4
4141
with:
42-
ref: main
42+
ref: ${{ inputs.tag || github.ref }}
4343
fetch-depth: 0
4444

4545
- name: Configure Git

0 commit comments

Comments
 (0)