You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,16 +120,24 @@ This repo now uses Renovate to auto-update dependencies (including template mani
120
120
121
121
### One-time setup
122
122
123
-
1. No additional token is required. Renovate uses the default `secrets.GITHUB_TOKEN`.
124
-
2. Enable repository auto-merge in GitHub settings.
125
-
3. Protect `master` and require CI checks before merge.
123
+
1. Create a repository secret named `RENOVATE_TOKEN`.
124
+
2. Use a fine-grained GitHub token scoped to this repository with:
125
+
- Contents: Read and write
126
+
- Pull requests: Read and write
127
+
3. Enable repository auto-merge in GitHub settings.
128
+
4. Protect `master`, require CI checks before merge, and enable merge queue.
129
+
130
+
Why: PRs created with `GITHUB_TOKEN` do not trigger downstream `pull_request` workflows. Using `RENOVATE_TOKEN` ensures CI checks run and automerge can complete.
126
131
127
132
Workflow file: `.github/workflows/renovate.yml`
128
133
Config file: `renovate.json`
129
134
130
135
Behavior:
131
136
132
-
- All dependency updates (major, minor, patch) auto-merge after checks pass.
137
+
- Renovate runs with controlled concurrency (`prConcurrentLimit` and `branchConcurrentLimit` set to `3`) to reduce conflicts.
138
+
- Major updates are never auto-merged and require manual review.
139
+
- Minor, patch, pin, and digest updates are grouped into fewer PRs and auto-merge after checks pass.
140
+
- Renovate automatically rebases dependency PRs when they fall behind `master`.
133
141
- Custom regex managers keep template manifests, the resolver registry, and README dependency rows in sync.
0 commit comments