Skip to content

Commit c2ca166

Browse files
committed
Update README with recent changes
NO_JIRA
1 parent 20a77bc commit c2ca166

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff 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
```
@@ -49,7 +48,8 @@ jobs:
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
```

0 commit comments

Comments
 (0)