Skip to content

Commit

Permalink
Update Dependabot config to monitor both branches
Browse files Browse the repository at this point in the history
Monitor both master and development branches for dependency
updates.
  • Loading branch information
atc0005 committed Jul 22, 2023
1 parent 935abb0 commit 91342be
Showing 1 changed file with 41 additions and 14 deletions.
55 changes: 41 additions & 14 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,40 +7,49 @@

# 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: "/"
Expand All @@ -59,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"

0 comments on commit 91342be

Please sign in to comment.