Skip to content

Commit

Permalink
ci: pr-title-check
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak committed Oct 5, 2024
1 parent 773ba01 commit cf6a18a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/pull-request-title.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: check pull-request title
on:
pull_request:
types:
- edited
- opened
- reopened
- synchronize

jobs:
check-pull-request-title:
runs-on: ubuntu-latest
steps:
- uses: fastify/action-pr-title@v0
with:
regex: '/^(build|chore|ci|docs|feat|types|fix|perf|refactor|style|test)(?:\([^\):]*\))?!?:\s/'
github-token: ${{ github.token }}

0 comments on commit cf6a18a

Please sign in to comment.