-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
1 parent
b2f0985
commit 5f74253
Showing
15 changed files
with
66 additions
and
877 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,5 +1,8 @@ | ||
name: "Semantic PR" | ||
|
||
permissions: | ||
pull-requests: write | ||
|
||
on: | ||
pull_request_target: | ||
types: | ||
|
@@ -15,3 +18,46 @@ jobs: | |
- uses: amannn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ github.token }} | ||
with: | ||
types: | | ||
feat | ||
fix | ||
perf | ||
refactor | ||
style | ||
docs | ||
test | ||
build | ||
ci | ||
chore | ||
part | ||
scopes: | | ||
functional-parameters | ||
immutable-data | ||
no-classes | ||
no-conditional-statements | ||
no-expression-statements | ||
no-let | ||
no-loop-statements | ||
no-mixed-types | ||
no-promise-reject | ||
no-return-void | ||
no-this-expressions | ||
no-throw-statements | ||
no-try-statements | ||
prefer-immutable-types | ||
prefer-property-signatures | ||
prefer-readonly-types | ||
prefer-tacit | ||
readonly-type | ||
type-declaration-immutability | ||
requireScope: false | ||
subjectPattern: ^(?![A-Z]).+$ # Don't start with an uppercase character. | ||
subjectPatternError: | | ||
The subject "{subject}" should not start with an uppercase character. | ||
ignoreLabels: | | ||
bot | ||
ignore-semantic-pull-request | ||
headerPattern: '^(\w*)(?:\(([\w$.\-*/ ]*)\))?!?: (.*)$' | ||
headerPatternCorrespondence: type, scope, subject | ||
wip: true |
This file was deleted.
Oops, something went wrong.
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.