Skip to content

Commit b2e8204

Browse files
authored
Enable Dependabot for Cargo and GitHub Actions (#103)
* Enable Dependabot for Cargo and GitHub Actions * Limit Dependabot's Cargo PRs to security fixes From <https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file>: > Dependabot default behavior: > > - If five pull requests with version updates are open, no further pull requests are raised until some of those open requests are merged or closed. > - Security updates have a separate, internal limit of ten open pull requests which cannot be changed. > > When open-pull-requests-limit is defined: > > - Dependabot opens pull requests up to the defined integer value. > - You can temporarily disable version updates for a package manager by setting this option to zero…
1 parent dcfda41 commit b2e8204

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json
2+
---
3+
# See the documentation for all configuration options:
4+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5+
version: 2
6+
updates:
7+
- package-ecosystem: "cargo"
8+
directory: "/"
9+
schedule:
10+
interval: "weekly"
11+
open-pull-requests-limit: 0 # security updates only
12+
- package-ecosystem: "github-actions"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"

0 commit comments

Comments
 (0)