-
Notifications
You must be signed in to change notification settings - Fork 181
44 lines (40 loc) · 1.05 KB
/
conventional-commits.yaml
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
name: Conventional Commits Validation
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened
- edited
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request
cancel-in-progress: true # Cancel any previous runs of this workflow
jobs:
validate-commits:
name: Conventional Commits Validation
runs-on: ubuntu-latest
steps:
- uses: dev-build-deploy/[email protected]
with:
update-labels: false # OPTIONAL; do not update the Pull Request labels based on the Conventional Commits information.
include-commits: true
token: ${{ secrets.GITHUB_TOKEN }}
types: |
chore
ci
docs
feat
fix
merge
perf
refactor
release
squash
test