docs: [#234] - Adding documentation on the home page #32
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' | |
# All of these are valid PR titles using GitHub issues. | |
# Of course one can use different <type> as per conventional commits format | |
# https://www.conventionalcommits.org/en/v1.0.0 | |
# | |
# feat(improvement)!: [#123] - My PR title | |
# feat!: [#123] - My PR title | |
# feat: [#123] - My PR title | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- edited | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: Slashgear/[email protected] | |
with: | |
regexp: '^(?:release|feat|fix|build|chore|ci|docs|style|refactor|perf|test|revert)(?:\(\w+\))?\!?:\s\[#\d+\]\s\-\s.+' | |
helpMessage: "Example: 'feat: [#123] - my title'" |