mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2025-11-07 08:06:54 +00:00
docs: use v3 action on README.md
This commit is contained in:
parent
176bb3db76
commit
9c4a2f86a5
1 changed files with 2 additions and 2 deletions
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- uses: wagoid/commitlint-github-action@v2
|
- uses: wagoid/commitlint-github-action@v3
|
||||||
```
|
```
|
||||||
|
|
||||||
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.
|
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.
|
||||||
|
|
@ -138,7 +138,7 @@ jobs:
|
||||||
- run: npm install
|
- run: npm install
|
||||||
# Run the commitlint action, considering its own dependencies and yours as well 🚀
|
# Run the commitlint action, considering its own dependencies and yours as well 🚀
|
||||||
# `github.workspace` is the path to your repository.
|
# `github.workspace` is the path to your repository.
|
||||||
- uses: wagoid/commitlint-github-action@v2
|
- uses: wagoid/commitlint-github-action@v3
|
||||||
env:
|
env:
|
||||||
NODE_PATH: ${{ github.workspace }}/node_modules
|
NODE_PATH: ${{ github.workspace }}/node_modules
|
||||||
```
|
```
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue