Skip to content

Commit 6f64fbc

Browse files
committed
ci: Add PR linting to ensure conventional commits are followed for PR titles
1 parent e8fa514 commit 6f64fbc

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/lint_pr.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: lint-pr
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
jobs:
11+
validate-title:
12+
name: Validate PR title
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: amannn/action-semantic-pull-request@v4
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)