mirror of
https://github.com/StanGirard/quivr.git
synced 2024-11-24 05:55:13 +03:00
feat(pr-title): added pr-title checlk
This commit is contained in:
parent
16114b2c52
commit
b11b2d8658
21
.github/workflows/conventional-pr-title.yml
vendored
Normal file
21
.github/workflows/conventional-pr-title.yml
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
name: Check PR title
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- reopened
|
||||
- edited
|
||||
- synchronize
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: aslafy-z/conventional-pr-title-action@main
|
||||
with:
|
||||
success-state: Title follows the specification.
|
||||
failure-state: Title does not follow the specification.
|
||||
context-name: conventional-pr-title
|
||||
preset: conventional-changelog-angular@latest
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in New Issue
Block a user