Skip to content

Commit

Permalink
ci: Fix some CI workflow stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
HRemonen committed Sep 2, 2023
1 parent f5007b5 commit 9331c24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
linters-settings:
funlen:
lines: 100
statements: 50
lines: 60
statements: 40
gocyclo:
min-complexity: 15
goimports:
Expand Down
2 changes: 1 addition & 1 deletion cmd/commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ func CreateCommitMessage(commitType, commitScope, commitDescription string, comm
// CreateGitCommit creates a Git commit with the given message and files.
func CreateGitCommit(message string, files []string) error {
commitArgs := append([]string{"commit", "-m", message}, files...)
commitGitCmd := exec.Command("git", commitArgs...) //nolint:gosec
commitGitCmd := exec.Command("git", commitArgs...) //nolint:gosec // because I do not think the users can do anything bad here
commitGitCmd.Stdout = os.Stdout
commitGitCmd.Stderr = os.Stderr

Expand Down

0 comments on commit 9331c24

Please sign in to comment.