feat(button): add custom color to color prop #135
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: PR Title Check | |
on: | |
pull_request: | |
types: [opened, edited] | |
jobs: | |
pr-title: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Validate PR Title | |
run: | | |
if [[ ! "${{ github.event.pull_request.title }}" =~ ^(feat|fix|chore|major|docs|ci)\(([a-z_-]+)\)!*:(.+|\d+)$ ]]; then | |
echo "The Pull Request title must follow the convention: 'type(context): description'." | |
echo "The types must be: feat, fix, chore, major, docs, ci." | |
echo "Example of a correct title: feat(component): create link component" | |
exit 1 | |
fi |