Skip to content

Commit 4f6036f

Browse files
authored
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
1 parent 8d6402c commit 4f6036f

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • .agents/skills/dependabot-pr-rollup

‎.agents/skills/dependabot-pr-rollup/SKILL.md‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
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.
44
license: MIT
55
compatibility: Requires git, git worktree, gh CLI auth, npm, and a GitHub repo with an origin remote.
66
---
@@ -13,7 +13,7 @@ Use this skill when the user wants to:
1313
- find all open Dependabot PRs in the current repo
1414
- reproduce their net effect in one local branch
1515
- 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`
1717

1818
## Workflow
1919

@@ -28,7 +28,8 @@ Use this skill when the user wants to:
2828
- Use `npm install ... --ignore-scripts` for direct dependency changes so `package-lock.json` stays in sync.
2929
- When updating `@biomejs/biome`, also update the Biome schema URL version in `biome.json` to match the installed Biome version.
3030
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`.
3233

3334
## Repo-specific notes
3435

@@ -46,4 +47,5 @@ Always report:
4647
- new worktree path
4748
- files changed
4849
- `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

Comments
 (0)