File tree 3 files changed +12
-16
lines changed
3 files changed +12
-16
lines changed Original file line number Diff line number Diff line change 1
- name : Check Commit
1
+ name : Check Commit Message
2
2
3
- on :
4
- pull_request :
5
- push :
6
- branches :
7
- - " *"
3
+ on : [pull_request, push]
8
4
9
5
jobs :
10
6
check :
Original file line number Diff line number Diff line change 3
3
<img alt="GitHub Actions status" src="https://github.com/actions/checkout/workflows/Build%20and%20Test/badge.svg">
4
4
</a >
5
5
6
- # Check Commit Syntax
6
+ # Check Commit Message
7
7
8
- Action to check if the commit follows proper syntax as specified [ here] ( http://karma-runner.github.io/latest/dev/git-commit-msg.html )
8
+ Action to check if the commit follows proper guidelines as specified [ here] ( http://karma-runner.github.io/latest/dev/git-commit-msg.html )
9
9
10
10
## Usage
11
11
@@ -16,13 +16,9 @@ your repository then use this [action](https://github.com/adityaa30/check-commit
16
16
Refer to the example below,
17
17
18
18
``` yaml
19
- name : Check Commit
19
+ name : Check Commit Message
20
20
21
- on :
22
- pull_request :
23
- push :
24
- branches :
25
- - " *"
21
+ on : [pull_request, push]
26
22
27
23
jobs :
28
24
check :
@@ -76,5 +72,5 @@ npm run build
76
72
- [x] Helper functions to check commit message based on rules
77
73
- [x] Add input parameter `compulsory-scope`
78
74
- [x] Add input parameter `max-header-length`
79
- - [ ] Provide a **[CLI](https://en.wikipedia.org/wiki/Command-line_interface)**
75
+ - [ ] Add a **[CLI](https://en.wikipedia.org/wiki/Command-line_interface)**
80
76
- [ ] Add custom **[input parameters](https://help.github.com/en/actions/building-actions/metadata-syntax-for-github-actions#inputs)**
Original file line number Diff line number Diff line change 1
- name : " Check Commit"
1
+ name : " Check Commit Message "
2
2
description : " Action to check if the commit follows proper syntax"
3
3
4
4
inputs :
@@ -19,3 +19,7 @@ inputs:
19
19
runs :
20
20
using : node12
21
21
main : dist/index.js
22
+
23
+ branding :
24
+ icon : ' message-circle'
25
+ color : ' green'
You can’t perform that action at this time.
0 commit comments