Skip to content

Commit

Permalink
ci: check PRs for conventional commits title
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisgrieser authored Aug 12, 2024
1 parent 117bbb3 commit 823ab45
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/semantic-pr-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Ensure Conventional Commits-like PR titles

on:
pull_request_target:
types: [opened, edited, synchronize]

permissions:
pull-requests: read

jobs:
semantic-pull-request:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
# add `improv` to the list of allowed types
with:
types: |
improv
fix
feat
refactor
build
ci
style
test
chore
perf
docs
break
revert
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 823ab45

Please sign in to comment.