Skip to content

Commit 09edd02

Browse files
committed
fix: update checkout reference to use release branch variable
1 parent 5f3f84d commit 09edd02

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,8 @@ jobs:
100100
steps:
101101
- uses: actions/checkout@v4
102102
with:
103-
# Checkout on main so that the later commit works
104-
ref: main
103+
# Checkout on the release branch so that the later commit works
104+
ref: ${{ vars.RELEASE_BRANCH || 'main' }}
105105
# With permission to push to a protected branch
106106
token: ${{ secrets.READ_WRITE_PAT }}
107107

0 commit comments

Comments
 (0)