Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commits prefixed with "chore(deps)" are ignored in changelog #157

Open
1 task done
MogliCodes opened this issue Nov 1, 2023 · 1 comment
Open
1 task done

commits prefixed with "chore(deps)" are ignored in changelog #157

MogliCodes opened this issue Nov 1, 2023 · 1 comment

Comments

@MogliCodes
Copy link

MogliCodes commented Nov 1, 2023

Describe the feature

I am not sure if this a desired behaviour or if it is configurable, but when I generate a changelog the commits that have a type of chore AND a scope get ignored. commits of type chore without any scope are not ignored.

For instance, I am using dependabot and it creates commit messages with type and scope like "chore(deps-dev)" and I would like to include these commits in my changelog.

This is my changelog.config.json. Do I need to add a scopeMap? If so, I think a hint in the documentation would be helpful, since all scopes for commit types "feat" are accepted.

{
    "types": {
      "feat": {
        "title": "🚀 Features"
      },
      "fix": {
        "title": "🐞 Bug Fixes"
      },
      "chore": {
        "title": "🧹 Chores",
        "semver": "patch"
      },
      "refactor": {
        "title": "♻️ Refactor"
      },
      "build": {
        "title": "🏗 Build"
      },
      "test": {
        "title": "🧪 Test"
      },
      "docs": {
        "title": "📄 Docs"
      },
      "style": {
        "title": "👨‍🎤 Style",
        "semver": "patch"
      },
      "ci": {
        "title": "🚚 CI/CD",
        "semver": "minor"
      }
    }
  }

Additional information

  • Would you be willing to help implement this feature?
@tmlmt
Copy link
Contributor

tmlmt commented Nov 20, 2023

It's not a bug, it's a hard-coded deliberate behavior of the current version. I have pushed a PR #103 to propose a way to customize which types(scopes) should be ignored. Waiting for maintainer feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants