Skip to content

Commit 847315d

Browse files
committed
ci: add semantic PR title check workflow
Lints PR titles against Conventional Commits via amannn/action-semantic-pull-request, matching the workflow already in use in postguard-website. Keeps titles consistent for changelogs and release tooling across the org. Closes #51
1 parent 72dd0cf commit 847315d

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/pr-title.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: PR Title
2+
3+
on:
4+
pull_request:
5+
types: [opened, edited, synchronize, reopened]
6+
7+
jobs:
8+
lint-pr-title:
9+
name: Conventional Commit
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: amannn/action-semantic-pull-request@v5
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)