You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* fix: update noxfile.py to fix Sessions defined in /workspace/commit-check/noxfile.py:
* lint
- test-hook
- build
- install-wheel
- commit-check
- coverage
- docs
sessions marked with * are selected, sessions marked with - are skipped.
* feat: add docs-live
* docs: update to add example
* docs: update to add example
* feat: use nox commands in pipeline
* feat: use nox commands in pipeline
* fix: remove cd to docs step
* fix: get branch name to fix ci failure
* fix: update noxfile.py
* fix: add build session back
* fix: install then run test
* fix: install nox for test
Copy file name to clipboardExpand all lines: README.rst
+42-17Lines changed: 42 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -30,9 +30,11 @@ Commit Check
30
30
Overview
31
31
--------
32
32
33
-
**Commit Check** is a free, powerful tool that enforces commit metadata standards, including commit message, branch naming, committer name/email, and commit signoff. Fully customizable with error messages and suggested commands, it ensures compliance across teams.
33
+
**Commit Check** is a free, powerful tool that enforces commit metadata standards, including commit message, branch naming, committer name/email, commit signoffand more.
34
34
35
-
As an alternative to GitHub Enterprise `Metadata restrictions <https://docs.github.com/en/enterprise-server@3.11/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#metadata-restrictions>`_ and Bitbucket's paid puglin `Yet Another Commit Checker <https://marketplace.atlassian.com/apps/1211854/yet-another-commit-checker?tab=overview&hosting=datacenter>`_, Commit Check stands out by integrating DevOps principles and Infrastructure as Code (IaC).
35
+
Fully customizable with error messages and suggested commands, it ensures compliance across teams.
36
+
37
+
As an alternative to GitHub Enterprise `Metadata restrictions <https://docs.github.com/en/enterprise-server@3.11/repositories/configuring-branches-and-merges-in-your-repository/managing-rulesets/available-rules-for-rulesets#metadata-restrictions>`_ and Bitbucket's paid plugin `Yet Another Commit Checker <https://marketplace.atlassian.com/apps/1211854/yet-another-commit-checker?tab=overview&hosting=datacenter>`_, Commit Check stands out by integrating DevOps principles and Infrastructure as Code (IaC).
Then, run ``commit-check`` from the command line. For more information, see the `docs <https://commit-check.github.io/commit-check/cli_args.html>`_.
103
+
Then, run ``commit-check --help`` from the command line. For more information, see the `docs <https://commit-check.github.io/commit-check/cli_args.html>`_.
102
104
103
105
Running as Git Hooks
104
106
~~~~~~~~~~~~~~~~~~~~
@@ -118,8 +120,8 @@ Save the script file as ``pre-push`` and make it executable:
118
120
119
121
Now, ``git push`` will trigger this hook automatically.
120
122
121
-
Example
122
-
-------
123
+
Examples
124
+
--------
123
125
124
126
Check Commit Message Failed
125
127
@@ -155,24 +157,47 @@ Check Branch Naming Failed
155
157
156
158
Commit rejected by Commit-Check.
157
159
158
-
(c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c)
159
-
/ ._. \ / ._. \ / ._. \ / ._. \ / ._. \
160
-
__\( C )/__ __\( H )/__ __\( E )/__ __\( C )/__ __\( K )/__
160
+
(c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c) (c).-.(c)
161
+
/ ._. \ / ._. \ / ._. \ / ._. \ / ._. \
162
+
__\( C )/__ __\( H )/__ __\( E )/__ __\( C )/__ __\( K )/__
0 commit comments