From a6e1117639a2b0434fef5101ddd893741333a720 Mon Sep 17 00:00:00 2001 From: Adam Chalkley Date: Sat, 22 Jul 2023 12:55:02 -0500 Subject: [PATCH] Update Dependabot config to monitor both branches Monitor both master and development branches for dependency updates. --- .github/dependabot.yml | 56 +++++++++++++++++++++++++++++++----------- 1 file changed, 42 insertions(+), 14 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8a1968b..e32ef5f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,40 +7,50 @@ # https://help.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates +###################################################################### +# Monitor Go module dependency updates +###################################################################### + version: 2 updates: - - # Enable version updates for Go modules - package-ecosystem: "gomod" - - # Look for a `go.mod` file in the `root` directory directory: "/" - - # Default is a maximum of five pull requests for version updates open-pull-requests-limit: 10 - target-branch: "master" - - # Daily update checks; default version checks are performed at 05:00 UTC schedule: interval: "daily" time: "02:00" timezone: "America/Chicago" - - # Assign everything to me by default assignees: - "atc0005" labels: - "dependencies" - allow: - # Allow both direct and indirect updates for all packages - dependency-type: "all" + commit-message: + prefix: "go.mod" + - package-ecosystem: "gomod" + directory: "/" + open-pull-requests-limit: 10 + target-branch: "development" + schedule: + interval: "daily" + time: "02:00" + timezone: "America/Chicago" + assignees: + - "atc0005" + labels: + - "dependencies" + allow: + - dependency-type: "all" commit-message: - # Prefix all commit messages with "go.mod" prefix: "go.mod" + ###################################################################### + # Monitor GitHub Actions dependency updates + ###################################################################### + - package-ecosystem: "github-actions" directory: "/" open-pull-requests-limit: 10 @@ -58,3 +68,21 @@ updates: - dependency-type: "all" commit-message: prefix: "ghaw" + + - package-ecosystem: "github-actions" + directory: "/" + open-pull-requests-limit: 10 + target-branch: "development" + schedule: + interval: "daily" + time: "02:00" + timezone: "America/Chicago" + assignees: + - "atc0005" + labels: + - "dependencies" + - "CI" + allow: + - dependency-type: "all" + commit-message: + prefix: "ghaw"