Skip to content

Commit

Permalink
feat(pr-linter): remove branking change from pr linter (#203)
Browse files Browse the repository at this point in the history
* feat(pr-linter): remove branking change from pr linter

* Change preset to conventionalcommits
  • Loading branch information
luabida authored Dec 15, 2022
1 parent b8454a8 commit 6eeed96
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
"branches": ["main"],
"tagFormat": "${version}",
"plugins": [
"@semantic-release/commit-analyzer",
[
"@semantic-release/commit-analyzer", {
"preset": "conventionalcommits"
}],
[
"@google/semantic-release-replace-plugin",
{
Expand Down Expand Up @@ -38,7 +41,10 @@
]
}
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/release-notes-generator", {
"preset": "conventionalcommits"
}],
[
"@semantic-release/changelog",
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/ci/pr-title-linter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

set -e

echo "${1}" | grep -E "^(BREAKING CHANGE|chore|fix|docs|feat|test)(\(.+\))?\:"
echo "${1}" | grep -E "^(chore|fix|docs|feat|test)(\(.+\))?\:"

0 comments on commit 6eeed96

Please sign in to comment.