-
Notifications
You must be signed in to change notification settings - Fork 150
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,654 additions
and
330 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
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'" |
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
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
Oops, something went wrong.