We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
ref
1 parent 8c1d17d commit 489e70fCopy full SHA for 489e70f
1 file changed
publish-github-release/action.yml
@@ -126,6 +126,7 @@ runs:
126
shell: bash
127
env:
128
GITHUB_TOKEN: ${{ inputs.github-token }}
129
+ GITHUB_REF: ${{ inputs.branch }}
130
run: |
131
# Set release ID based on draft status
132
if [[ "${{ inputs.draft }}" == "true" ]]; then
@@ -139,6 +140,7 @@ runs:
139
140
# Trigger the workflow
141
gh workflow run "${{ inputs.release-workflow }}" \
142
--repo "${{ github.repository }}" \
143
+ --ref $GITHUB_REF \
144
-f "version=$VALIDATED_VERSION" \
145
-f "releaseId=$RELEASE_ID_VALUE" \
146
-f "dryRun=${{ inputs.draft }}"
0 commit comments