On an eventNeeds a repository
Upgrade dependencies weekly
A PR, or needs_review
Once a week an agent bumps your dependencies, runs the tests and opens a pull request, or stops at needs_review and says why.
Best for
- Repositories that fall behind on minor versions
- A test suite that catches breaking upgrades
Uses
- A connected GitHub repository
- An automation with a schedule trigger
Automation · Weekly upgrades
POST /o/{org}/p/{project}/automations/{automation}/triggerspromptUpgrade dependencies to their latest minor versions, run the tests, and open a pull request listing each bump. Skip any upgrade that breaks the tests and say why.
{
"kind": "schedule",
"config": {
"cron": "0 9 * * 1",
"timezone": "UTC"
}
}Watch it work, then read what comes back
GET /o/{org}/sessions/{session}/eventsevent: tool_usebash · bun outdatedevent: tool_usebash · bun updateevent: tool_result2 failedevent: thinkingzod 3.25 changed an error message the tests match.event: messageOpened a pull request with 11 bumps; skipped zod.GET /o/{org}/sessions/{session}- status
completed- branch
rush/weekly-upgrades- result
11 upgrades, 1 skipped with the reason
Steps
- 01
Add a weekly schedule
A
scheduletrigger withcronset to the hour you want, in yourtimezone. - 02
Read the pull request
Each bump is listed. An upgrade that breaks the tests is left out with its reason.