quivr/.github/workflows/conventional-pr-title.yml
Stan Girard 2fcff0beda
fix(release-please): use personal token to be able to trigger release (#789)
* ci(check-pr-title): made prettier

* fix(release-please): use personal token to be able to trigger release
2023-07-27 11:02:47 +02:00

22 lines
554 B
YAML

name: Check PR title conventional commit
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 }}