Skip to content
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

Update example for Rails dependency #81

Merged
merged 1 commit into from
Sep 25, 2024
Merged
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
8 changes: 3 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,17 @@ defaults:
# But each of the above properties can be overridden on a per-dependency basis below.
overrides:
# Example of overriding `allowed_semver_bumps`:
- dependency: gds-api-adapters
- dependency: rails
allowed_semver_bumps:
- patch
- patch # minor/major bumps should be upgraded manually. See https://docs.publishing.service.gov.uk/manual/keeping-software-current.html#rails
# Example of opting a specific dependency out of automatic patching:
- dependency: rails # should be upgraded manually, see https://docs.publishing.service.gov.uk/manual/keeping-software-current.html#rails
- dependency: gds-api-adapters
auto_merge: false
# Example of opting a specific dependency into automatic patching:
- dependency: rspec
update_external_dependencies: true
```

> We generally [advise taking extra care with Rails upgrades](https://docs.publishing.service.gov.uk/manual/keeping-software-current.html#rails) therefore those upgrades shouldn't be auto-merged.

After you've merged your config file into your main branch, you just need to add your repository to the [config/repos_opted_in.yml](config/repos_opted_in.yml) list in govuk-dependabot-merger.

## Technical documentation
Expand Down
Loading