Skip to content

Commit

Permalink
Merge pull request #236 from atc0005/update-dependabot-config-to-moni…
Browse files Browse the repository at this point in the history
…tor-both-branches

Update Dependabot config to monitor both branches
  • Loading branch information
atc0005 authored Jul 22, 2023
2 parents 935abb0 + 91342be commit 173b83d
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 173b83d

Please sign in to comment.