Skip to content

Commit

Permalink
fix: default values (#9)
Browse files Browse the repository at this point in the history
* fix: missing import

* ci: change bump
  • Loading branch information
danteay authored May 17, 2024
1 parent c0639d9 commit 8c1bedc
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 53 deletions.
15 changes: 13 additions & 2 deletions .cz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,23 @@ name = "cz_customize"
version = "0.4.1"
tag_format = "v$version"
bump_message = "bump: release $current_version → $new_version [skip-ci]"
update_changelog_on_bump = true
update_changelog_on_bump = false
version_files = [
"package.json:version",
]

[tool.commitizen.customize]
schema_pattern = "(break|build|ci|docs|feat|fix|perf|refactor|style|test|chore|revert|bump|deps)(\\(\\S+\\))?!?:(\\s.*)"
bump_pattern = "^(break|build|feat|fix|refactor|style|test|revert|deps|docs|ci|chore)"
bump_map = {"break" = "MAJOR", "build" = "MINOR", "feat" = "MINOR", "revert" = "MINOR", "fix" = "PATCH", "refactor" = "PATCH", "style" = "PATCH", "test" = "PATCH", "ci" = "PATCH", "deps" = "PATCH", "chore" = "PATCH", "docs" = "PATCH"}

[tool.commitizen.customize.bump_map]
break = "MAJOR"
build = "MINOR"
feat = "MINOR"
revert = "MINOR"
fix = "PATCH"
refactor = "PATCH"
style = "PATCH"
test = "PATCH"
deps = "PATCH"
chore = "PATCH"
51 changes: 0 additions & 51 deletions CHANGELOG.md

This file was deleted.

2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import core from "@actions/core";

import { getInput, getBooleanInput } from "./src/utils.js";
import Action from "./src/action/Action.js";

Expand Down

0 comments on commit 8c1bedc

Please sign in to comment.