File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ The commit will be flagged if it includes certain text files with:
9
9
* File name that can cause errors on Windows
10
10
* CRLF line endings
11
11
* NO NOT MERGE or DO NOT COMMIT
12
- * Trailing whitespace
13
12
* Tabs
14
13
* Missing terminating newline for certain files
15
14
* Certain C++ #include patterns and std::exception
@@ -23,7 +22,7 @@ exceeds a threshold.
23
22
24
23
## Usage
25
24
``` yaml
26
- - uses : ccdc-opensource/commit-hooks@v3
25
+ - uses : ccdc-opensource/commit-hooks@v6
27
26
with :
28
27
commitMessage : ' The commit message'
29
28
` ` `
49
48
- name : Get the commit message
50
49
run : |
51
50
echo "commit_message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_ENV
52
- - uses : ccdc-opensource/commit-hooks@v3
51
+ shell : bash
52
+ - uses : ccdc-opensource/commit-hooks@v6
53
53
with :
54
54
commitMessage : ${{ env.commit_message }}
55
55
` ` `
You can’t perform that action at this time.
0 commit comments