Automated dependabot configuration in GitHub

Example dependabot.yml that contains a configuration block for npm
Pull request created by dependabot for a Terraform provider update
Output of update-dependabot.ps1 showing the list of identified components
# This file is auto-generated by .github/scripts/update-dependabot.ps1
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/src/app"
schedule:
interval: "daily"
target-branch: "component-updates"
- package-ecosystem: "docker"
directory: "/src/app/AlwaysOn.GameService"
schedule:
interval: "daily"
target-branch: "component-updates"
- package-ecosystem: "docker"
directory: "/src/app/AlwaysOn.HealthService"
schedule:
interval: "daily"
target-branch: "component-updates"
...
UpdateDependabot GitHub Actions workflow output
Changes are automatically added to the PR
“Files changed” section of PR that contains changes to our dependabot.yml
Dependabot in a GitHub repository

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

5 reasons why programmers should blog

Some Notes on Ubuntu Setup

Unity Tip: Use TryGetComponent instead of GetComponent to avoid memory allocation in the Editor

Create a custom Node-Red Container with Integration Testing and a CI/CD Pipeline

How to install git on Chrome OS

ATM Machine and Management System With Python

What is engineering?

Tips for using release toggles with trunk-based development

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Heyko Oelrichs

Heyko Oelrichs

More from Medium

Virtualization Basics with VMware

How to automatically detect issues in your YAML file with GitHub Actions

Azure CDN Purge in Azure Devops using PowerShell command using Azure CLI

GitHub/EMU/Terraform