-
Notifications
You must be signed in to change notification settings - Fork 0
chore(renovate): give Renovate credentials for npm.pkg.github.com + move preset to default.json #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "description": "WAVE org-wide Renovate preset. Every wave-av repo extends this via `local>wave-av/.github`. Named default.json (NOT renovate.json) because Renovate resolves a preset to default.json first and only falls back to renovate.json with a deprecation warning.", | ||
| "extends": [ | ||
| "config:recommended", | ||
| ":dependencyDashboard", | ||
| "helpers:pinGitHubActionDigests" | ||
| ], | ||
| "npmrc": "@wave-av:registry=https://npm.pkg.github.com/", | ||
| "hostRules": [ | ||
| { | ||
| "description": "Read credentials for GitHub Packages. Without this, every @wave-av/* lookup fails with `no-result` because npm.pkg.github.com requires auth even to READ. The token is NOT stored here: `{{ secrets.* }}` is resolved by the Mend-hosted app from an ORG-scoped secret set in the Credentials section of the wave-av org settings at developer.mend.io. Nothing secret is committed.", | ||
| "matchHost": "https://npm.pkg.github.com/", | ||
| "hostType": "npm", | ||
| "token": "{{ secrets.WAVE_PACKAGES_READ_TOKEN }}" | ||
| } | ||
| ], | ||
| "packageRules": [ | ||
| { | ||
| "description": "WAVE internal packages (the spoke-chassis): keep every spoke on the LATEST published version. Labeled chassis-automerge so the renovate-reaper (wave-foundation) auto-approves + squash-merges these after its diff/lockfile/deploy gates - which then triggers each spoke's deploy-on-merge.", | ||
| "matchPackageNames": [ | ||
| "@wave-av/**" | ||
| ], | ||
| "rangeStrategy": "bump", | ||
| "semanticCommitType": "chore", | ||
| "commitMessageTopic": "spoke-chassis", | ||
| "labels": [ | ||
| "chassis-automerge" | ||
| ], | ||
| "minimumReleaseAge": "0 days" | ||
| } | ||
| ], | ||
| "schedule": [ | ||
| "after 1am and before 6am" | ||
| ], | ||
| "timezone": "America/New_York" | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,28 +1,6 @@ | ||
| { | ||
| "$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
| "extends": [ | ||
| "config:recommended", | ||
| ":dependencyDashboard", | ||
| "helpers:pinGitHubActionDigests" | ||
| ], | ||
| "npmrc": "@wave-av:registry=https://npm.pkg.github.com", | ||
| "packageRules": [ | ||
| { | ||
| "description": "WAVE internal packages (the spoke-chassis): keep every spoke on the LATEST published version. Labeled chassis-automerge so the renovate-reaper (wave-foundation) auto-approves + squash-merges these after its diff/lockfile/deploy gates — which then triggers each spoke's deploy-on-merge.", | ||
| "matchPackagePatterns": [ | ||
| "^@wave-av/" | ||
| ], | ||
| "rangeStrategy": "bump", | ||
| "semanticCommitType": "chore", | ||
| "commitMessageTopic": "spoke-chassis", | ||
| "labels": [ | ||
| "chassis-automerge" | ||
| ], | ||
| "minimumReleaseAge": "0 days" | ||
| } | ||
| ], | ||
| "schedule": [ | ||
| "after 1am and before 6am" | ||
| ], | ||
| "timezone": "America/New_York" | ||
| "local>wave-av/.github" | ||
| ] | ||
| } |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
P2: The
@wave-av/**packageRule in default.json duplicates the pre-existing @wave-av rule in org-inherited-config.json (same package scope, bothminimumReleaseAge: "0 days"). The org rule setsautomerge: truefor minor/patch underplatformAutomerge: true, while the preset relies only on thechassis-automergelabel for the reaper. Both now govern the same packages with different automerge semantics. Consolidate the @wave-av handling into one place (e.g. only the org-inherited config or only the preset) so the ~45 spokes that inherit both don't get competing/order-dependent behavior, and keep theminimumReleaseAge: "0 days"in a single rule.Prompt for AI agents