Skip to content

Commit

Permalink
feat(ci): Add workflow to validate PR title (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
phated authored Feb 3, 2023
1 parent 950ca55 commit e5e8542
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Pull Request

on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize

permissions:
pull-requests: read

jobs:
conventional-title:
name: Validate PR title is Conventional Commit
runs-on: ubuntu-latest
steps:
- name: Check title
uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
types: |
fix
feat
chore

0 comments on commit e5e8542

Please sign in to comment.