This repository has been archived by the owner on Jun 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from PrestaShop/boom-1597-commit-name-validation
Introduced Commit name validator
- Loading branch information
Showing
18 changed files
with
473 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- PR_COMMIT_NAME_ERROR --> | ||
Hi! | ||
|
||
These(s) commit(s) name(s) seems to be incomplete or malformed, regarding our [guidelines](http://doc.prestashop.com/display/PS16/How+to+write+a+commit+message): | ||
|
||
{% if commits|length > 1 %} | ||
<table> | ||
<tr> | ||
<th>Malformed commits</th> | ||
</tr> | ||
{% for commit in commits %} | ||
<tr> | ||
<td>{{ commit }}</td> | ||
</tr> | ||
{% endfor %} | ||
</table> | ||
{% else %} | ||
<p>`{{ commits[0] }}` is malformed or incomplete.</p> | ||
{% endif %} | ||
|
||
A valid commit name can be, for instance: | ||
|
||
``` | ||
BO: Shows company in BO search if B2B is enabled | ||
``` | ||
|
||
Would you mind to amend your commits' names? | ||
|
||
To do this, open a command line window and use `git commit --amend` for the commit's name. See [GitHub's help page](https://help.github.com/articles/changing-a-commit-message/) for more information. | ||
|
||
_Note: this **must** be done via the command line: you can't do this just by changing the title of the pull-request from the GitHub interface!_ :) | ||
|
||
Thank you! | ||
|
||
(note: this is an automated message, but answering it will reach a real human ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
<!-- PR_TABLE_DESCRIPTION_ERROR --> | ||
Hi! | ||
|
||
Your pull request description seems to be incomplete or malformed: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.