Skip to content

Commit

Permalink
Update dependabot.yml for branches, gh actions and npm
Browse files Browse the repository at this point in the history
  • Loading branch information
spencergibb authored Dec 3, 2024
1 parent d5ee2b1 commit 62a13c3
Showing 1 changed file with 21 additions and 22 deletions.
43 changes: 21 additions & 22 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,10 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "3.1.x" # oldest OSS supported branch
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "4.0.x" # oldest OSS supported branch
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: "main"
Expand All @@ -19,31 +14,35 @@ updates:
directory: /
schedule:
interval: daily
target-branch: 3.1.x
target-branch: main
ignore:
# only upgrade patch versions for maintenance branch
# only upgrade by minor or patch
- dependency-name: "*"
update-types:
- version-update:semver-major
- version-update:semver-minor
- package-ecosystem: maven
directory: /
schedule:
interval: daily
target-branch: 4.0.x
target-branch: 4.1.x
ignore:
# only upgrade patch versions for maintenance branch
# only upgrade by minor or patch
- dependency-name: "*"
update-types:
- version-update:semver-major
- version-update:semver-minor
- package-ecosystem: maven
- package-ecosystem: npm
target-branch: docs-build
directory: /
schedule:
interval: daily
interval: weekly
- package-ecosystem: npm
target-branch: main
ignore:
# only upgrade by minor or patch
- dependency-name: "*"
update-types:
- version-update:semver-major
directory: /docs
schedule:
interval: weekly
- package-ecosystem: npm
target-branch: 4.1.x
directory: /docs
schedule:
interval: weekly

0 comments on commit 62a13c3

Please sign in to comment.