fix(replace): ignore values option when pass an empty value #1518
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/pr-title@v0.1.0 | |
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 }} |