Skip to content

Commit 0c98934

Browse files
committed
1 parent 6d03a6c commit 0c98934

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cmd/release_create.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ func (r *runners) gitSHABranch() (sha string, branch string, dirty bool, err err
8888
branchName := head.Name().Short()
8989

9090
// for GH Actions, prefer env branch
91-
envBranch := os.Getenv("GITHUB_BRANCH")
91+
envBranch := os.Getenv("GITHUB_BRANCH_NAME")
9292
if envBranch != "" {
9393
branchName = envBranch
9494
}

0 commit comments

Comments
 (0)