File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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:
99* File name that can cause errors on Windows
1010* CRLF line endings
1111* NO NOT MERGE or DO NOT COMMIT
12- * Trailing whitespace
1312* Tabs
1413* Missing terminating newline for certain files
1514* Certain C++ #include patterns and std::exception
@@ -23,7 +22,7 @@ exceeds a threshold.
2322
2423## Usage
2524``` yaml
26- - uses : ccdc-opensource/commit-hooks@v3
25+ - uses : ccdc-opensource/commit-hooks@v6
2726 with :
2827 commitMessage : ' The commit message'
2928` ` `
4948 - name : Get the commit message
5049 run : |
5150 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
5353 with :
5454 commitMessage : ${{ env.commit_message }}
5555` ` `
You can’t perform that action at this time.
0 commit comments