forked from jl777/SuperNET
-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1844 from KomodoPlatform/dev
chore(release): v1.0.5-beta
- Loading branch information
Showing
31 changed files
with
484 additions
and
304 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,42 @@ | ||
name: "PR Lint" | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- edited | ||
- synchronize | ||
|
||
jobs: | ||
main: | ||
name: Validate PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: amannn/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
types: | | ||
feat | ||
fix | ||
chore | ||
docs | ||
deps | ||
test | ||
refactor | ||
ci | ||
requireScope: true | ||
# Do not allow starting with uppercase for subject part | ||
subjectPattern: ^(?![A-Z]).+$ | ||
headerPatternCorrespondence: type, scope, subject | ||
|
||
- name: Check PR title length | ||
env: | ||
TITLE: ${{ github.event.pull_request.title }} | ||
run: | | ||
title_length=${#TITLE} | ||
if [ $title_length -gt 72 ] | ||
then | ||
echo "PR title is too long (greater than 72 characters)" | ||
exit 1 | ||
fi |
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.