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
{{ message }}
Repository navigation
Commit 4f6036f
Browse filesBrowse the repository at this point in the historyBrowse files
Require pull requests for Dependabot rollups (#1005)
## Summary
- require the Dependabot rollup skill to commit and push validated
changes
- always create a pull request with the `dependencies` label
- report the created PR and label confirmation
## Testing
- `git diff --check`
Refs: pi-session 019ff0f1-1aee-7691-8a2c-7c708812f7b0
Copy file name to clipboardExpand all lines: .agents/skills/dependabot-pr-rollup/SKILL.md
+6-4Lines changed: 6 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
name: dependabot-pr-rollup
3
-
description: Find open Dependabot PRs for the current GitHub repo, compare each PR head to its base branch, replay only the net dependency changes in a fresh worktree and branch, run npm validation, and optionally commit, push, and open a PR. Use when you want to batch or manually replicate active Dependabot updates.
3
+
description: Find open Dependabot PRs for the current GitHub repo, compare each PR head to its base branch, replay only the net dependency changes in a fresh worktree and branch, run npm validation, then commit, push, and open a pull request labeled dependencies. Use when you want to batch or manually replicate active Dependabot updates.
4
4
license: MIT
5
5
compatibility: Requires git, git worktree, gh CLI auth, npm, and a GitHub repo with an origin remote.
6
6
---
@@ -13,7 +13,7 @@ Use this skill when the user wants to:
13
13
- find all open Dependabot PRs in the current repo
14
14
- reproduce their net effect in one local branch
15
15
- validate the result with the repo's standard npm checks
16
-
-optionally commit, push, and open a PR
16
+
- commit and push the validated changes, then open a PR labeled `dependencies`
17
17
18
18
## Workflow
19
19
@@ -28,7 +28,8 @@ Use this skill when the user wants to:
28
28
- Use `npm install ... --ignore-scripts` for direct dependency changes so `package-lock.json` stays in sync.
29
29
- When updating `@biomejs/biome`, also update the Biome schema URL version in `biome.json` to match the installed Biome version.
30
30
7. Run `npm run all`.
31
-
8. If requested, commit the changed source, lockfile, and generated artifacts, then push and open a PR.
31
+
8. Commit the changed source, lockfile, and generated artifacts, then push the branch.
32
+
9. Always open a pull request for the rollup and add the `dependencies` label to it. Pass `--label dependencies` to `gh pr create`, or add the label immediately afterward with `gh pr edit --add-label dependencies`.
32
33
33
34
## Repo-specific notes
34
35
@@ -46,4 +47,5 @@ Always report:
46
47
- new worktree path
47
48
- files changed
48
49
-`npm run all` result
49
-
- if applicable, commit SHA and PR URL
50
+
- commit SHA and PR URL
51
+
- confirmation that the PR has the `dependencies` label
0 commit comments