Skip to content

Commit

Permalink
enable GitHub dependabot
Browse files Browse the repository at this point in the history
this will (partially) automate dependency updates. dependabot will
create PRs if a dependency can be updated automatically.
see the [dependabot documentation][docs] for further information.

as the repository has three actively maintained branches (`main` and
`v1.3` for the plugin and `mixin` for the dashboard mixins). dependabot
by default only targets the default branch (here: `main`) the config has
to to be added twice, the second explicitly for `v1.3`. as `mixin`
doesn't have a gradle build it's only enabled for the GHA updates.

solves #149

[docs]: https://docs.github.com/en/code-security/dependabot/dependabot-version-updates

Signed-off-by: Ralph Ursprung <[email protected]>
  • Loading branch information
rursprung authored and lukas-vlcek committed Mar 7, 2023
1 parent 01e9dff commit bbbe1f6
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: v1.3
schedule:
interval: "weekly"
- package-ecosystem: "github-actions"
directory: "/"
target-branch: mixin
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "gradle"
directory: "/"
target-branch: v1.3
schedule:
interval: "weekly"

0 comments on commit bbbe1f6

Please sign in to comment.