Skip to content

Commit

Permalink
ci: add pr title check
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron Hambly committed Aug 23, 2021
1 parent f577df8 commit f65ff87
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/pr_title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check PR title
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: aslafy-z/[email protected]
with:
success-state:
failure-state: PR title does not follow the conventional commits specification!
context-name: conventional-pr-title
preset: conventional-changelog-angular@latest

0 comments on commit f65ff87

Please sign in to comment.