Skip to content

Commit 1e13293

Browse files
authored
ci: add pr title format validation (#509)
**What is the purpose of this pull request?** To assist #508 / #506 by ensuring that PR-title's are always valid conventional commit format before merging **What changes did you make? (Give an overview)** Added a pinned [mtfoley/pr-compliance-action](https://github.com/mtfoley/pr-compliance-action) similar to what I use at eg. neostandard: https://github.com/neostandard/neostandard/blob/main/.github/workflows/compliance.yml
1 parent 030a3be commit 1e13293

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/compliance.yml

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Compliance
2+
3+
on:
4+
pull_request_target:
5+
types: [opened, edited, reopened]
6+
7+
permissions:
8+
pull-requests: write
9+
10+
jobs:
11+
compliance:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: mtfoley/pr-compliance-action@11b664f0fcf2c4ce954f05ccfcaab6e52b529f86
15+
with:
16+
body-auto-close: false
17+
body-regex: '.*'
18+
ignore-team-members: false

0 commit comments

Comments
 (0)