We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f3f84d commit 09edd02Copy full SHA for 09edd02
1 file changed
.github/workflows/release.yml
@@ -100,8 +100,8 @@ jobs:
100
steps:
101
- uses: actions/checkout@v4
102
with:
103
- # Checkout on main so that the later commit works
104
- ref: main
+ # Checkout on the release branch so that the later commit works
+ ref: ${{ vars.RELEASE_BRANCH || 'main' }}
105
# With permission to push to a protected branch
106
token: ${{ secrets.READ_WRITE_PAT }}
107
0 commit comments