Skip to content

Commit e02fc0f

Browse files
fix: run release overrides github ref to current branch
1 parent 98eba26 commit e02fc0f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ jobs:
9595
GIT_AUTHOR_EMAIL: ${{ steps.vault.outputs.GIT_COMMITTER_EMAIL }}
9696
GIT_COMMITTER_NAME: ${{ steps.vault.outputs.GIT_COMMITTER_NAME }}
9797
GIT_COMMITTER_EMAIL: ${{ steps.vault.outputs.GIT_COMMITTER_EMAIL }}
98+
GITHUB_REF: ${{ github.event.workflow_run.head_branch || github.ref }}
9899

99100
- name: Get latest release tag
100101
id: get-tag

0 commit comments

Comments
 (0)