Skip to content

Commit

Permalink
build: limit semantic release and plugin versions (#369)
Browse files Browse the repository at this point in the history
  • Loading branch information
akikanellis authored Oct 14, 2023
1 parent 863b41a commit b5c2a29
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ env:
SEMANTIC_RELEASE_GIT_VERSION: 10.0.1

# renovate: datasource=npm depName=conventional-changelog-conventionalcommits
CONVENTIONAL_CHANGELOG_CONVENTIONALCOMMITS_VERSION: 7.0.2
CONVENTIONAL_CHANGELOG_CONVENTIONALCOMMITS_VERSION: 6.1.0

jobs:
lint:
Expand Down Expand Up @@ -56,7 +56,7 @@ jobs:
GIT_COMMITTER_EMAIL: 103840025+aki-bot[bot]@users.noreply.github.com
with:
# renovate: datasource=npm depName=semantic-release
semantic_version: 19.0.5
semantic_version: 21.0.2
extra_plugins:
"@semantic-release/changelog@\
${{ env.SEMANTIC_RELEASE_CHANGELOG_VERSION }} \
Expand Down
16 changes: 12 additions & 4 deletions renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,20 @@ semver-coerced\
matchUpdateTypes: ["digest"]
},
{
description: "Limit semantic-release versions to 19.x.x.\
Version 20.0.0 is not currently compatible with\
cycjimmy/semantic-release-action",
description: "Limit semantic-release versions to 21.x.x.\
Version 22.x.x is currently not compatible with\
gradle-semantic-release-plugin",
matchDatasources: ["npm"],
matchPackageNames: ["semantic-release"],
allowedVersions: "<= 19"
allowedVersions: "<= 21"
},
{
description: "Limit conventional-changelog-conventionalcommits versions\
to 6.x.x. Version 7.x.x is currently only compatible with\
semantic-release >= 22",
matchDatasources: ["npm"],
matchPackageNames: ["conventional-changelog-conventionalcommits"],
allowedVersions: "<= 6"
},
{
description: "Use correct compatibility for github/super-linter",
Expand Down

0 comments on commit b5c2a29

Please sign in to comment.