Skip to content

chore(renovate): configure @remix-run bumps in test fixtures #355

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
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions renovate.json

This file was deleted.

33 changes: 33 additions & 0 deletions renovate.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
$schema: 'https://docs.renovatebot.com/renovate-schema.json',
extends: ['local>netlify/renovate-config'],
// The config we're extending ignores test dirs, but we want to bump some fixture deps
ignorePaths: ['**/node_modules/**'],
packageRules: [
// Since we've enabled Renovate (see above) for fixture sites, adjust the config for these.
{
matchFileNames: ['tests/**/fixtures/**/package.json'],
// If a fixture requires a specific framework version, never bump it.
updatePinnedDependencies: false,
// Always use `chore:` (since these are test fixtures), to avoid no-op releases.
extends: [':semanticCommitTypeAll(chore)'],
},
{
description: 'Stable & unstable Remix bumps in test fixtures',
matchFileNames: ['tests/**/fixtures/**/package.json'],
// See https://docs.renovatebot.com/presets-monorepo/#monoreporemix.
matchSourceUrls: ['https://github.com/remix-run/remix'],
// Override the schedule to get immediate PRs.
schedule: null,
// Apply a unique label so we can trigger additional workflows for these PRs.
addLabels: ['bump-framework-in-fixtures'],
// Bump even if the release isn't tagged as `latest`.
respectLatest: false,
// Bump even if it's a pre-release (e.g. 1.2.3-beta.8).
ignoreUnstable: false,
// Ideally we'd like to disable automerge only for unstable bumps, but this is
// difficult (or impossible) to implement so we just disable it entirely.
automerge: false,
},
],
}
Loading