forked from stackblitz/bolt.new
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: adding back semantic pull pr check for better changelog system
- Loading branch information
1 parent
d238c93
commit 35f5aaa
Showing
2 changed files
with
33 additions
and
1 deletion.
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,32 @@ | ||
name: Semantic Pull Request | ||
on: | ||
pull_request_target: | ||
types: [opened, reopened, edited, synchronize] | ||
permissions: | ||
pull-requests: read | ||
jobs: | ||
main: | ||
name: Validate PR Title | ||
runs-on: ubuntu-latest | ||
steps: | ||
# https://github.com/amannn/action-semantic-pull-request/releases/tag/v5.5.3 | ||
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
subjectPattern: ^(?![A-Z]).+$ | ||
subjectPatternError: | | ||
The subject "{subject}" found in the pull request title "{title}" | ||
didn't match the configured pattern. Please ensure that the subject | ||
doesn't start with an uppercase character. | ||
types: | | ||
fix | ||
feat | ||
chore | ||
build | ||
ci | ||
perf | ||
docs | ||
refactor | ||
revert | ||
test |
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 +1 @@ | ||
{ "commit": "89eac1ba8b2ada92dd76da9671d17e08de61a8bf", "version": "0.0.2" } | ||
{ "commit": "d238c9353c434045084caf480b6bc547bfde43a4" } |