fix(replace): prevent variable before colons from being replaced when preventAssigment is true #1233
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/[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 }} |