-
-
Notifications
You must be signed in to change notification settings - Fork 0
29 lines (25 loc) · 668 Bytes
/
Copy pathcommitlint.yml
File metadata and controls
29 lines (25 loc) · 668 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
# SPDX-License-Identifier: AGPL-3.0-or-later
name: commitlint
on:
pull_request:
branches: [main]
push:
branches: [main]
permissions:
contents: read
pull-requests: read
concurrency:
group: commitlint-${{ github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
jobs:
lint:
name: lint
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@b948419dd99f3fd78a6548d48f94e3df7f6bf3ed # v6.2.1
with:
configFile: commitlint.config.mjs