-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add PR title check workflow * chore: update root readme, remove solid dir readme and composition * chore: reorganize getThemeStyles parameters * chore: add theming doc
- Loading branch information
1 parent
4544cfe
commit f411060
Showing
8 changed files
with
198 additions
and
258 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,18 @@ | ||
name: Pull Request Title Check | ||
on: | ||
pull_request: | ||
types: [opened, edited, reopened, synchronize, ready_for_review] | ||
permissions: read-all | ||
jobs: | ||
check-pr-title: | ||
name: check PR title | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check PR title format | ||
run: | | ||
title=$(jq --raw-output .pull_request.title $GITHUB_EVENT_PATH) | ||
if [ $(echo $title | grep -Eoc '^(feat|fix|chore|docs|test|build)(\([a-zA-Z0-9\-]+\))?: .{1,100}+$') -eq 0 ]; then # https://regex101.com/r/swQ454/1 | ||
echo "PR title does not comply with conventional commits" | ||
echo "PR title does not comply with conventional commits: $(cat pull-request-title/title)" > comment/comment | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ node_modules/ | |
.DS_Store | ||
dist/ | ||
storybook-static | ||
*.code-workspace | ||
*.code-workspace |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.