Skip to content

Commit 6ee5392

Browse files
committed
docs: use v4 on usage instructions
1 parent c6ec005 commit 6ee5392

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@v2
1818
with:
1919
fetch-depth: 0
20-
- uses: wagoid/commitlint-github-action@v3
20+
- uses: wagoid/commitlint-github-action@v4
2121
```
2222
2323
Alternatively, you can run on other event types such as `on: [push]`. In that case the action will lint the push event's commit(s) instead of linting commits from a pull request. You can also combine `push` and `pull_request` together in the same workflow.
@@ -136,13 +136,13 @@ jobs:
136136
- uses: actions/checkout@v2
137137
with:
138138
fetch-depth: 0
139-
- uses: actions/setup-node@v1
139+
- uses: actions/setup-node@v2
140140
with:
141141
node-version: '14'
142142
- run: npm install
143143
# Run the commitlint action, considering its own dependencies and yours as well 🚀
144144
# `github.workspace` is the path to your repository.
145-
- uses: wagoid/commitlint-github-action@v3
145+
- uses: wagoid/commitlint-github-action@v4
146146
env:
147147
NODE_PATH: ${{ github.workspace }}/node_modules
148148
```

0 commit comments

Comments
 (0)