Skip to content

refactor(json): simplify default options handling #1526

refactor(json): simplify default options handling

refactor(json): simplify default options handling #1526

Workflow file for this run

name: Pull Request Title Format
on:
pull_request:
branches:
- '*'
types:
- opened
- reopened
- edited
- synchronize
jobs:
prTitle:
name: Check
runs-on: ubuntu-latest
steps:
- name: Check PR Title
uses: clowdhaus/actions/[email protected]
with:
on-fail-message: "Your PR title doesn't match the required format. The title should be in the conventional commit (https://www.conventionalcommits.org/en/v1.0.0-beta.4/) format. e.g.\n\n```\nchore(plugin-name): add pr title workflow\n```"
title-regex: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\(([*]|[\w|,|\-|\|]+)\))?(!)?\:\s.*'
github-token: ${{ secrets.GITHUB_TOKEN }}