Skip to content

Commit

Permalink
fix: make revving deps trigger a release (#1027)
Browse files Browse the repository at this point in the history
Also chores should not trigger a release.
  • Loading branch information
achingbrain committed Jul 28, 2022
1 parent 770cd25 commit f77c323
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ updates:
interval: daily
time: "10:00"
open-pull-requests-limit: 10
commit-message:
prefix: "deps"
prefix-development: "deps(dev)"
10 changes: 9 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@
"type": "docs",
"release": "patch"
},
{
"type": "deps",
"release": "patch"
},
{
"type": "test",
"release": "patch"
Expand Down Expand Up @@ -162,7 +166,11 @@
},
{
"type": "docs",
"section": "Trivial Changes"
"section": "Documentation"
},
{
"type": "deps",
"section": "Dependencies"
},
{
"type": "test",
Expand Down
6 changes: 3 additions & 3 deletions src/check-project/semantic-release-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ export const semanticReleaseConfig = (branchName) => {
}, {
type: 'fix',
release: 'patch'
}, {
type: 'chore',
release: 'patch'
}, {
type: 'docs',
release: 'patch'
}, {
type: 'test',
release: 'patch'
}, {
type: 'deps',
release: 'patch'
}, {
scope: 'no-release',
release: false
Expand Down

0 comments on commit f77c323

Please sign in to comment.