Skip to content

Commit 6828a0a

Browse files
committed
clear
1 parent 012dd26 commit 6828a0a

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/release.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
release:
55
types: [created]
66

7+
permissions:
8+
contents: write
9+
710
jobs:
811
build:
912
name: Build and Attach Release Binaries

cmd/commit-wizard/main.go

+4
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ func main() {
2323
message = ""
2424
}
2525

26+
if scope == "-a" || scope == "-amend" {
27+
scope = ""
28+
}
29+
2630
commitMessage := commit.FormatCommitMessage(commitType, scope, message)
2731
flags := commit.ExtractFlags(os.Args)
2832

0 commit comments

Comments
 (0)