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
{{ message }}
This repository was archived by the owner on Dec 6, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: check-commit/README.md
+7-1
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,9 @@
2
2
3
3
This action checks that the commit subject is compliant with the [patch classifying rules](https://github.com/haproxy/haproxy/blob/master/CONTRIBUTING#L632) of HAProxy contribution guidelines. Also it does minimal check for a meaningful message in the commit subject: no less than 20 characters and at least 3 words.
4
4
5
+
By default only the top commit subject is checked.
6
+
If the commit subject has the format: `Merge 'commitA-ID' into 'commitB-ID'`, all commit subjects between 'commitA' and 'commitB' will be checked.
7
+
5
8
## Examples
6
9
7
10
### Good
@@ -44,7 +47,10 @@ None.
44
47
```yaml
45
48
steps:
46
49
- name: Check out code
47
-
uses: actions/checkout@v1
50
+
uses: actions/checkout@v2
51
+
with:
52
+
fetch-depth: 10
48
53
- name: check-commit
49
54
uses: docker://haproxytech/check-commit:TAG
50
55
```
56
+
Here we instruct `checkout@v2` action to fetch last 10 commits (by default it fetches only last one) which is required in case of checking multiple commits.
0 commit comments