Skip to content

fix: update regex pattern to allow breaking commits#153

Merged
alirezanet merged 1 commit intoalirezanet:masterfrom
joaoopereira:development-add-support-breaking-commits
Dec 4, 2025
Merged

fix: update regex pattern to allow breaking commits#153
alirezanet merged 1 commit intoalirezanet:masterfrom
joaoopereira:development-add-support-breaking-commits

Conversation

@joaoopereira
Copy link
Contributor

@joaoopereira joaoopereira commented Dec 4, 2025

Description

The current pattern doesn't support the ! marker for breaking changes, which is a key part of conventional commits (e.g., feat!: breaking change or feat(scope)!: breaking change).

Fixes # (issue)

he pattern now includes !? after the optional scope, which allows for breaking change commits. Now these formats are all valid:

feat: regular commit
feat(scope): scoped commit
feat!: breaking change
feat(scope)!: breaking change with scope

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have performed a self-review of my code
  • I have added tests that prove my fix is effective or that my feature works
  • I have made corresponding changes to the documentation
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • I did test corresponding changes on Windows
  • I did test corresponding changes on Linux
  • I did test corresponding changes on Mac

@what-the-diff
Copy link

what-the-diff bot commented Dec 4, 2025

PR Summary

  • Updated Commit Message Linting Pattern
    The format for writing commit messages has been tweaked. Now it's fine to use an optional exclamation mark (!) following the type of commit. An example could be feat!:. This change provides more flexibility in the way developers can write their commit messages.

Copy link
Owner

@alirezanet alirezanet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks 🎉

@alirezanet alirezanet merged commit a902183 into alirezanet:master Dec 4, 2025
1 check passed
This was referenced Mar 11, 2026
renovate bot added a commit to psimsa/github-actions-autoscaler that referenced this pull request Mar 12, 2026
This PR contains the following updates:

| Package | Change |
[Age](https://docs.renovatebot.com/merge-confidence/) |
[Confidence](https://docs.renovatebot.com/merge-confidence/) |
|---|---|---|---|
| [husky](https://redirect.github.com/alirezanet/husky.net) | `0.8.0` →
`0.9.0` |
![age](https://developer.mend.io/api/mc/badges/age/nuget/husky/0.9.0?slim=true)
|
![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/husky/0.8.0/0.9.0?slim=true)
|

---

### Release Notes

<details>
<summary>alirezanet/husky.net (husky)</summary>

###
[`v0.9.0`](https://redirect.github.com/alirezanet/Husky.Net/releases/tag/v0.9.0)

[Compare
Source](https://redirect.github.com/alirezanet/husky.net/compare/v0.8.0...v0.9.0)

#### What's Changed

- remove net6.0/net7.0 since out of support by
[@&#8203;WeihanLi](https://redirect.github.com/WeihanLi) in
[alirezanet/Husky.Net#135](https://redirect.github.com/alirezanet/Husky.Net/pull/135)
- fix: update regex pattern to allow breaking commits by
[@&#8203;joaoopereira](https://redirect.github.com/joaoopereira) in
[alirezanet/Husky.Net#153](https://redirect.github.com/alirezanet/Husky.Net/pull/153)
- Fix parallel install mutex bug and support incremental build by
[@&#8203;MattKotsenas](https://redirect.github.com/MattKotsenas) in
[alirezanet/Husky.Net#159](https://redirect.github.com/alirezanet/Husky.Net/pull/159)
- fix: handle file paths with spaces in git commands in
[alirezanet/Husky.Net#156](https://redirect.github.com/alirezanet/Husky.Net/pull/156)
- feat: add `staged` property to custom variables for re-staging support
in
[alirezanet/Husky.Net#163](https://redirect.github.com/alirezanet/Husky.Net/pull/163)
- feat: support variables in include/exclude glob patterns in
[alirezanet/Husky.Net#161](https://redirect.github.com/alirezanet/Husky.Net/pull/161)
- fix: use AfterTargets="Restore" to support NuGet credential helpers
for private feeds in
[alirezanet/Husky.Net#162](https://redirect.github.com/alirezanet/Husky.Net/pull/162)

#### New Contributors

- [@&#8203;joaoopereira](https://redirect.github.com/joaoopereira) made
their first contribution in
[alirezanet/Husky.Net#153](https://redirect.github.com/alirezanet/Husky.Net/pull/153)
- [@&#8203;MattKotsenas](https://redirect.github.com/MattKotsenas) made
their first contribution in
[alirezanet/Husky.Net#159](https://redirect.github.com/alirezanet/Husky.Net/pull/159)

**Full Changelog**:
<alirezanet/Husky.Net@v0.8.0...v0.9.0>

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/psimsa/github-actions-autoscaler).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0My41OS4wIiwidXBkYXRlZEluVmVyIjoiNDMuNTkuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
github-actions bot pushed a commit to ptr727/LanguageTags that referenced this pull request Mar 13, 2026
Updated [husky](https://github.com/alirezanet/husky.net) from 0.8.0 to
0.9.0.

<details>
<summary>Release notes</summary>

_Sourced from [husky's
releases](https://github.com/alirezanet/husky.net/releases)._

## 0.9.0

## What's Changed
* remove net6.0/net7.0 since out of support by @​WeihanLi in
alirezanet/Husky.Net#135
* fix: update regex pattern to allow breaking commits by @​joaoopereira
in alirezanet/Husky.Net#153
* Fix parallel install mutex bug and support incremental build by
@​MattKotsenas in alirezanet/Husky.Net#159
* fix: handle file paths with spaces in git commands in
alirezanet/Husky.Net#156
* feat: add `staged` property to custom variables for re-staging support
in alirezanet/Husky.Net#163
* feat: support variables in include/exclude glob patterns in
alirezanet/Husky.Net#161
* fix: use AfterTargets="Restore" to support NuGet credential helpers
for private feeds in alirezanet/Husky.Net#162

## New Contributors
* @​joaoopereira made their first contribution in
alirezanet/Husky.Net#153
* @​MattKotsenas made their first contribution in
alirezanet/Husky.Net#159

**Full Changelog**:
alirezanet/Husky.Net@v0.8.0...v0.9.0

Commits viewable in [compare
view](alirezanet/Husky.Net@v0.8.0...v0.9.0).
</details>

Updated
[Microsoft.Extensions.Logging.Abstractions](https://github.com/dotnet/dotnet)
from 10.0.4 to 10.0.5.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.Extensions.Logging.Abstractions's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Updated [Microsoft.SourceLink.GitHub](https://github.com/dotnet/dotnet)
from 10.0.200 to 10.0.201.

<details>
<summary>Release notes</summary>

_Sourced from [Microsoft.SourceLink.GitHub's
releases](https://github.com/dotnet/dotnet/releases)._

## 10.0.201

You can build .NET 10.0 from the repository by cloning the release tag
`v10.0.201` and following the build instructions in the [main
README.md](https://github.com/dotnet/dotnet/blob/v10.0.201/README.md#building).

Alternatively, you can build from the sources attached to this release
directly.
More information on this process can be found in the [dotnet/dotnet
repository](https://github.com/dotnet/dotnet/blob/v10.0.201/README.md#building-from-released-sources).

Attached are PGP signatures for the GitHub generated tarball and
zipball. You can find the public key at https://dot.net/release-key-2023

Commits viewable in [compare
view](dotnet/dotnet@v10.0.200...v10.0.201).
</details>

Updated [System.CommandLine](https://github.com/dotnet/dotnet) from
2.0.4 to 2.0.5.

<details>
<summary>Release notes</summary>

_Sourced from [System.CommandLine's
releases](https://github.com/dotnet/dotnet/releases)._

No release notes found for this version range.

Commits viewable in [compare
view](https://github.com/dotnet/dotnet/commits).
</details>

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This was referenced Mar 13, 2026
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

Successfully merging this pull request may close these issues.

2 participants