Skip to content

Commit 3119ef4

Browse files
committed
[Copilot Dreams] Avoid skipping workflow dependency updates
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 31331e8 commit 3119ef4

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

‎.github/skills/update-deps/SKILL.md‎

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,9 @@ git fetch origin main
5656
git rev-parse --verify origin/main
5757
```
5858

59-
Detect which ecosystems have pending updates:
60-
6159
```bash
6260
[ -f Cargo.toml ] && echo "cargo"
63-
ls .github/workflows/*.yml .github/workflows/*.yaml 2>/dev/null && echo "github-actions"
61+
{ ls .github/workflows/*.yml || ls .github/workflows/*.yaml; } 2>/dev/null && echo "github-actions"
6462
[ -f crates/string-offsets/js/package.json ] && echo "npm"
6563
```
6664

@@ -268,7 +266,6 @@ Report the final PR URL and a summary of what was done.
268266

269267
## Guidelines
270268

271-
- **All PRs target `main`.** There is no separate dev branch.
272269
- **Never push to `main` directly.** Always work on a feature branch.
273270
- **Never push code that doesn't pass `make lint` and `make test`.** If you can't fix it in 3 tries, stop and ask.
274271
- **Be conservative with major version bumps.** If a major version update breaks things and the fix isn't obvious, skip that package and note it in the PR description.
@@ -280,10 +277,8 @@ Report the final PR URL and a summary of what was done.
280277

281278
## Edge cases
282279

283-
- **Cargo workspace:** Dependencies are declared per-crate but share a single `Cargo.lock` at the workspace root. Always run `cargo update` and `cargo check` from the repo root.
284280
- **npm:** Look for `package.json` files to discover npm packages rather than hardcoding paths — the repo layout may change.
285281
- **WASM builds:** After updating `wasm-bindgen` or related deps, verify `make build-js` still works — WASM toolchain version mismatches are common.
286282
- **Rate limits:** If `gh api` hits rate limits, wait and retry. Report to user if persistent.
287-
- **Nothing to update:** Report cleanly and move to the next ecosystem (or exit).
288283
- **Merge conflicts on push:** Rebase on `main` and retry: `git fetch origin main && git rebase origin/main`.
289284
- **Branch already exists:** If `deps/{ecosystem}-updates-{date}` already exists, append a counter or ask user.

0 commit comments

Comments
 (0)