Skip to content

Commit

Permalink
chore(renovate): add package rule for rhysd/actionlint Docker image…
Browse files Browse the repository at this point in the history
… versioning

- Added Renovate package rule to monitor `rhysd/actionlint` Docker image
  in workflows to avoid using `latest` tag and instead update to a specific
  version when available.
- Set versioning to `docker` to ensure Renovate fetches the latest tag
  from the Docker registry.
  • Loading branch information
KenEkanem committed Oct 30, 2024
1 parent 420b4a8 commit 115372d
Showing 1 changed file with 83 additions and 77 deletions.
160 changes: 83 additions & 77 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,79 +1,85 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": [
"renovatebot",
"dependencies"
],
"constraints": {
"go": "1.22"
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"labels": [
"renovatebot",
"dependencies"
],
"constraints": {
"go": "1.22"
},
"extends": ["config:recommended"],
"schedule": ["every tuesday"],
"packageRules": [
{
"matchManagers": ["gomod"],
"matchUpdateTypes": ["pin", "pinDigest", "digest", "lockFileMaintenance", "rollback", "bump", "replacement"],
"enabled": false
},
"extends": ["config:recommended"],
"schedule": ["every tuesday"],
"packageRules": [
{
"matchManagers": ["gomod"],
"matchUpdateTypes": ["pin", "pinDigest", "digest", "lockFileMaintenance", "rollback", "bump", "replacement"],
"enabled": false
},
{
"matchManagers": ["gomod"],
"matchUpdateTypes": ["major"],
"prBodyNotes": [":warning: MAJOR VERSION UPDATE :warning: - please manually update this package"],
"labels": ["dependency-major-update"]
},
{
"matchManagers": ["dockerfile"],
"groupName": "dockerfile deps"
},
{
"matchManagers": ["docker-compose"],
"groupName": "docker-compose deps"
},
{
"matchManagers": ["github-actions"],
"groupName": "github-actions deps"
},
{
"matchManagers": ["gomod"],
"matchSourceUrls": [
"https://github.com/open-telemetry/opentelemetry-go-contrib"
],
"groupName": "All opentelemetry-go-contrib packages"
},
{
"matchManagers": ["gomod"],
"matchSourceUrlPrefixes": ["https://go.opentelemetry.io/otel"],
"groupName": "All go.opentelemetry.io/contrib packages"
},
{
"matchManagers": ["gomod"],
"matchSourceUrlPrefixes": ["https://google.golang.org"],
"groupName": "All google.golang.org packages"
},
{
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["golang.org/x"],
"groupName": "All golang.org/x packages"
},
{
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["go.opentelemetry.io/collector"],
"groupName": "All go.opentelemetry.io/collector packages"
},
{
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["go.opentelemetry.io/build-tools"],
"groupName": "All go.opentelemetry.io/build-tools packages"
},
{
"matchManagers": ["gomod"],
"matchDepTypes": ["toolchain"],
"enabled": false
}
],
"ignoreDeps": [
"github.com/mattn/go-ieproxy"
],
"prConcurrentLimit": 200,
"suppressNotifications": ["prEditedNotification"]
}
{
"matchManagers": ["gomod"],
"matchUpdateTypes": ["major"],
"prBodyNotes": [":warning: MAJOR VERSION UPDATE :warning: - please manually update this package"],
"labels": ["dependency-major-update"]
},
{
"matchManagers": ["dockerfile"],
"groupName": "dockerfile deps"
},
{
"matchManagers": ["docker-compose"],
"groupName": "docker-compose deps"
},
{
"matchManagers": ["github-actions"],
"groupName": "github-actions deps"
},
{
"matchManagers": ["dockerfile"],
"matchPackageNames": ["rhysd/actionlint"],
"groupName": "Actionlint docker image",
"versioning": "docker"
},
{
"matchManagers": ["gomod"],
"matchSourceUrls": [
"https://github.com/open-telemetry/opentelemetry-go-contrib"
],
"groupName": "All opentelemetry-go-contrib packages"
},
{
"matchManagers": ["gomod"],
"matchSourceUrlPrefixes": ["https://go.opentelemetry.io/otel"],
"groupName": "All go.opentelemetry.io/contrib packages"
},
{
"matchManagers": ["gomod"],
"matchSourceUrlPrefixes": ["https://google.golang.org"],
"groupName": "All google.golang.org packages"
},
{
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["golang.org/x"],
"groupName": "All golang.org/x packages"
},
{
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["go.opentelemetry.io/collector"],
"groupName": "All go.opentelemetry.io/collector packages"
},
{
"matchManagers": ["gomod"],
"matchPackagePrefixes": ["go.opentelemetry.io/build-tools"],
"groupName": "All go.opentelemetry.io/build-tools packages"
},
{
"matchManagers": ["gomod"],
"matchDepTypes": ["toolchain"],
"enabled": false
}
],
"ignoreDeps": [
"github.com/mattn/go-ieproxy"
],
"prConcurrentLimit": 200,
"suppressNotifications": ["prEditedNotification"]
}

0 comments on commit 115372d

Please sign in to comment.