Skip to content

Pull Request Validator #293

Pull Request Validator

Pull Request Validator #293

Workflow file for this run

name: Validate Pull Request
run-name: Pull Request Validator
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
jobs:
cpr:
if: ${{ !github.event.pull_request.draft }}
runs-on: ubuntu-latest
steps:
- name: Validate the pull request
uses: Namchee/conventional-pr@v0.15.4
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
commit_pattern: '#[0-9]+ - .*'
branch_pattern: '(feature|fix)\/[0-9]+(-[a-z]+)+'
title_pattern: ''