-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (34 loc) · 877 Bytes
/
pr-title.yml
File metadata and controls
36 lines (34 loc) · 877 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
name: pr-title
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
semantic-pr-title:
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
# Conventional-commit types we accept in PR titles + commit subjects.
types: |
feat
fix
chore
docs
style
refactor
perf
test
build
ci
# Single-file plugin — no real submodule structure. We don't require
# a scope, but if a contributor uses one we accept these:
scopes: |
core
tests
ci
docs
deps
requireScope: false
requireScopeForBreakingChange: true