-
Notifications
You must be signed in to change notification settings - Fork 0
33 lines (29 loc) · 763 Bytes
/
Copy pathpr-title.yml
File metadata and controls
33 lines (29 loc) · 763 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
name: PR Title Check
on:
pull_request_target:
types: [opened, edited, reopened, synchronize]
branches: [master]
permissions:
pull-requests: read
jobs:
semantic-pr-title:
name: Validate PR Title
if: github.event.pull_request.user.login != 'renovate[bot]' && github.event.pull_request.user.login != 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Check PR title follows Conventional Commits
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
feat
fix
chore
docs
refactor
test
build
ci
perf
revert