Skip to content

Commit a53e10c

Browse files
authored
chore(ci): validate pull-request title (#136)
* chore(ci): validate pr title * chore: remove semantic pull request config * chore: fix name of workflow * chore: clean up workflow * chore: move title checking to check.yml * Revert "chore: move title checking to check.yml" This reverts commit d4afd07. * chore: remove unnecessary setup
1 parent 484e589 commit a53e10c

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

.github/semantic.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/workflows/pr-title.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Validate pull-request title
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize]
6+
7+
jobs:
8+
setup:
9+
runs-on: ubuntu-20.04
10+
timeout-minutes: 10
11+
steps:
12+
- uses: actions/checkout@v2
13+
with:
14+
fetch-depth: 0
15+
16+
- name: Pull Request title rules
17+
uses: deepakputhraya/[email protected]
18+
with:
19+
regex: '^(?:(feat)|(fix)|(docs)|(style)|(refactor)|(perf)|(test)|(build)|(ci)|(chore)|(revert))\((?:(javascript)|(php)|(java)|(cts)|(spec)|(script)|(ci))\): .+'

0 commit comments

Comments
 (0)