diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 000000000..d9cbe6b01 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,38 @@ +version: 2 +updates: + - package-ecosystem: bundler + directory: / + schedule: + interval: daily + allow: + # Security updates + - dependency-name: brakeman + dependency-type: direct + # Internal gems + - dependency-name: "govuk*" + dependency-type: direct + - dependency-name: gds-api-adapters + dependency-type: direct + - dependency-name: plek + dependency-type: direct + - dependency-name: rubocop-govuk + dependency-type: direct + - dependency-name: slimmer + dependency-type: direct + # Framework gems + - dependency-name: jasmine-rails + dependency-type: direct + - dependency-name: rails + dependency-type: direct + + # Ruby needs to be upgraded manually in multiple places, so cannot + # be upgraded by Dependabot. That effectively makes the below + # config redundant, as ruby is the only updatable thing in the + # Dockerfile, although this may change in the future. We hope this + # config will save a dev from trying to upgrade ruby via Dependabot. + - package-ecosystem: docker + ignore: + - dependency-name: ruby + directory: / + schedule: + interval: weekly