Skip to content

Commit

Permalink
Merge pull request #49 from wise-king-sullyman/fix-automated-dep-updates
Browse files Browse the repository at this point in the history
chore(ci): Update release and renovate configurations
  • Loading branch information
wise-king-sullyman authored Aug 28, 2023
2 parents ecc4c52 + 4ca3ebe commit 6795cb5
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: check-pr
on:
pull_request:
branches:
- main
- v4
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release
on:
push:
branches:
- main
- v4
jobs:
call-build-lint-test-workflow:
uses: ./.github/workflows/build-lint-test.yml
Expand Down
16 changes: 13 additions & 3 deletions packages/module/release.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,23 @@
module.exports = {
branches: [{ name: 'main', channel: 'prerelease' }],
branches: [{ name: 'v4', channel: 'prerelease', range: '4.x' }],
analyzeCommits: {
preset: 'angular'
},
plugins: [
'@semantic-release/commit-analyzer',
[
'@semantic-release/commit-analyzer',
{
preset: 'angular',
releaseRules: [
{ type: 'chore', scope: 'deps', release: 'patch' },
{ type: 'chore', scope: 'ci-release', release: 'patch' }
]
}
],
'@semantic-release/release-notes-generator',
'@semantic-release/github',
'@semantic-release/npm'
],
tagFormat: 'v${version}'
tagFormat: 'v${version}',
druRun: true
};
18 changes: 9 additions & 9 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"extends": ["config:base"],
"enabledManagers": ["npm"],
"rangeStrategy": "bump",
"packageRules": [
{
"packagePatterns": ["*"],
"excludePackagePatterns": [
"@patternfly/documentation-framework"
],
"excludePackagePatterns": ["@patternfly/*"],
"enabled": false
},
{
"packageNames": [
"@patternfly/documentation-framework"
]
"datasources": ["npm"],
"packagePatterns": ["@patternfly/*"],
"matchUpdateTypes": ["minor", "patch"],
"groupName": "patternfly",
"followTag": "latest"
}
]
}

0 comments on commit 6795cb5

Please sign in to comment.