Skip to content

Commit 9888668

Browse files
author
Sam Harrison
committed
feat: add PR title validation
1 parent 48b51df commit 9888668

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/pr-lint.yml

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Lint PR
2+
on:
3+
pull_request_target:
4+
types: [ opened, edited, reopened ]
5+
6+
jobs:
7+
validate:
8+
name: Validate title
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: amannn/action-semantic-pull-request@v4
12+
with:
13+
types: chore docs fix feat test
14+
env:
15+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)