-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (41 loc) · 931 Bytes
/
commitlint.yml
File metadata and controls
45 lines (41 loc) · 931 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
name: Commit Lint
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
- develop
paths-ignore:
- 'docs/**'
- '**.md'
- 'NOTICE'
- 'LICENSE'
- '.gitignore'
pull_request:
branches:
- main
- develop
paths-ignore:
- 'docs/**'
- '**.md'
- 'NOTICE'
- 'LICENSE'
- '.gitignore'
permissions:
contents: read
jobs:
commitlint:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
persist-credentials: false
fetch-depth: 0
- name: Lint commit messages
uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1
with:
configFile: commitlint.config.cjs