Skip to content

Commit d642899

Browse files
ci: add semantic PR title workflow (#46)
## Summary - add the shared semantic PR title workflow managed by `sdk-sync` - enforce Conventional Commit PR titles before squash-merge release automation consumes them ## Testing - not run; workflow-only change
1 parent 95ede9f commit d642899

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

‎.github/workflows/semantic-pr.yml‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Semantic Pull Request
2+
3+
on:
4+
pull_request_target:
5+
types:
6+
- opened
7+
- edited
8+
- synchronize
9+
10+
permissions:
11+
pull-requests: read
12+
13+
jobs:
14+
semantic-pr:
15+
name: Validate PR title
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Validate title
19+
uses: amannn/action-semantic-pull-request@v5
20+
env:
21+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
22+
with:
23+
types: |
24+
feat
25+
fix
26+
perf
27+
revert
28+
docs
29+
style
30+
chore
31+
refactor
32+
test
33+
build
34+
ci

0 commit comments

Comments
 (0)