Skip to content

Commit

Permalink
feat: add PR title validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Harrison committed Mar 25, 2022
1 parent 48b51df commit 9888668
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/pr-lint.yml
@@ -0,0 +1,15 @@
name: Lint PR
on:
pull_request_target:
types: [ opened, edited, reopened ]

jobs:
validate:
name: Validate title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v4
with:
types: chore docs fix feat test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9888668

Please sign in to comment.