ci: add action to enforce semantic PR titles and run tests (#55)

This commit is contained in:
Adem Baccara
2025-09-19 12:31:49 +01:00
committed by GitHub
parent 3b9f866d55
commit 87c7f40d2d
5 changed files with 144 additions and 1 deletions
+43
View File
@@ -0,0 +1,43 @@
name: Semantic PRs
on:
pull_request:
types:
- edited
- opened
- reopened
- synchronize
permissions:
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.number }}
cancel-in-progress: true
jobs:
validate_title:
name: Validate Title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5.5.3
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
with:
types: |
fix
feat
improve
refactor
revert
test
ci
docs
chore
scopes: |
ui
cli
config
parser
requireScope: false