Skip to content

Commit

Permalink
chore: Require conventional titles (#157)
Browse files Browse the repository at this point in the history
* add pr title workflow

* allow chore
  • Loading branch information
makspll authored Dec 3, 2024
1 parent f35103e commit b238bfc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/pr-titles.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: "Lint PR"

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

permissions:
pull-requests: read

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

0 comments on commit b238bfc

Please sign in to comment.