Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions references/ci-cd.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,17 @@ jobs:
```yaml
version: 2
updates:
- package-ecosystem: "npm" # github-actions / pip / cargo / gomod ...
# Replace package-ecosystem with your stack:
# npm | pip | cargo | gomod | composer | nuget | bundler | maven | gradle | swift
- package-ecosystem: "npm"
directory: "/"
schedule: { interval: "weekly" }
schedule:
interval: "weekly"
open-pull-requests-limit: 5
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
```

## When to add each
Expand All @@ -42,7 +49,6 @@ updates:
| `ci.yml` | Day 1, always |
| `dependabot.yml` | Day 1 if the repo has dependencies |
| `release.yml` | First versioned release |
| `codeql.yml` | >50 stars or it handles user data |
| `stale.yml` | >20 open issues |

## The opt-in menu
Expand Down