Skip to content

Commit

Permalink
Use V2 of GOV.UK Dependabot Merger
Browse files Browse the repository at this point in the history
GOV.UK Dependency Merger configuration changed to allow automatic patching of
all dependencies as described in RFC-167 [^1]. Consequently V1 no longer works.
This updates the configuration to use the version 2 convention to reinstate the
basic functionality of automatic patching of internal dependencies only.
The default allowed_semver_bumps are [patch, minor].

Follow up work will be required to enable automatic patching of external
dependencies, which we encourage the team to do.

[^1]: https://github.com/alphagov/govuk-rfcs/blob/main/rfc-167-auto-patch-dependencies.md
  • Loading branch information
AgaDufrat committed May 2, 2024
1 parent 4a8e2a0 commit 302f191
Showing 1 changed file with 4 additions and 49 deletions.
53 changes: 4 additions & 49 deletions .govuk_dependabot_merger.yml
Original file line number Diff line number Diff line change
@@ -1,49 +1,4 @@
api_version: 1
auto_merge:
- dependency: gds-api-adapters
allowed_semver_bumps:
- patch
- minor
- dependency: govspeak
allowed_semver_bumps:
- patch
- minor
- dependency: govuk_ab_testing
allowed_semver_bumps:
- patch
- minor
- dependency: govuk_app_config
allowed_semver_bumps:
- patch
- minor
- dependency: govuk_personalisation
allowed_semver_bumps:
- patch
- minor
- dependency: govuk_publishing_components
allowed_semver_bumps:
- patch
- dependency: plek
allowed_semver_bumps:
- patch
- minor
- dependency: rails_translation_manager
allowed_semver_bumps:
- patch
- minor
- dependency: slimmer
allowed_semver_bumps:
- patch
- minor
- dependency: govuk_schemas
allowed_semver_bumps:
- patch
- minor
- dependency: govuk_test
allowed_semver_bumps:
- patch
- minor
- dependency: rubocop-govuk
allowed_semver_bumps:
- patch
- minor
api_version: 2
defaults:
auto_merge: true
update_external_dependencies: false # TODO: enable after verifying that this repo meets the conditions

0 comments on commit 302f191

Please sign in to comment.