Skip to content

Commit

Permalink
ci: add pr title format validation (#509)
Browse files Browse the repository at this point in the history
**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
  • Loading branch information
voxpelli authored Jul 24, 2024
1 parent 030a3be commit 1e13293
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/compliance.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Compliance

on:
pull_request_target:
types: [opened, edited, reopened]

permissions:
pull-requests: write

jobs:
compliance:
runs-on: ubuntu-latest
steps:
- uses: mtfoley/pr-compliance-action@11b664f0fcf2c4ce954f05ccfcaab6e52b529f86
with:
body-auto-close: false
body-regex: '.*'
ignore-team-members: false

0 comments on commit 1e13293

Please sign in to comment.