You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-6Lines changed: 0 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,11 @@ jobs:
15
15
runs-on: ubuntu-latest
16
16
steps:
17
17
- uses: actions/checkout@v3
18
-
with:
19
-
fetch-depth: 0
20
18
- uses: wagoid/commitlint-github-action@v5
21
19
```
22
20
23
21
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.
24
22
25
-
**Note**: It's necessary that you specify the `fetch-depth` argument to `actions/checkout@v2` step. By default they fetch only latest commit of the branch, but we need more commits since we validate a range of commit messages.
26
-
27
23
## Inputs
28
24
29
25
You can supply these inputs to the `wagoid/commitlint-github-action@v5` step.
0 commit comments