nex opened 2 years ago
|
|||||
a regexp config would be the best... but @robin already reject that proposal https://code.onedev.io/projects/160/issues/166 |
|||||
Currently the full regex used is
You can go to https://regex101.com then choose Java8 flavor on the left and paste the regex. Then you can play with the Test string. For example it matches commit messages like:
|
|||||
OneDev changed state to 'Closed' 12 months ago
|
|||||
State changed as code fixing the issue is committed (33df8011) |
|||||
OneDev changed state to 'Released' 12 months ago
|
|||||
State changed as build #3627 is successful |
|||||
This can now be customized via |
Type |
Improvement
|
Priority |
Normal
|
Assignee |
Issue Votes (0)
From: https://code.onedev.io/projects/162/blob/main/pages/fix-issues-via-commit-message.md
I hope I can put this in the middle of the message, not neccessarily the beggining:
[fix|fixing|fixed|resolve|resolving|resolved] issue #[issue number] [:optional issue description]
I'm using conventional commit practice so commit messages fixing bugs will always start with:
fix: xxx
orfix(something): xxx