Uh oh!
There was an error while loading. Please reload this page.
Add github workflow and script to auto update vendordeps - #132
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a scheduled GitHub Actions automation to keep WPILib vendordep JSON files up to date by checking the WPILib vendordep marketplace, updating local vendordeps/*.json when newer versions exist, and opening a PR with a generated markdown summary.
Changes:
- Introduces a scheduled/manual GitHub Actions workflow to run the updater and open a PR via
peter-evans/create-pull-request. - Adds a Python script that fetches per-year marketplace manifests, compares vendordep versions by UUID, and updates local vendordep files while emitting a markdown summary.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| .github/workflows/update-vendordeps.yml | Adds the scheduled workflow that runs the vendordep update script and creates a PR with the summary. |
| .github/scripts/update_vendordeps.py | Implements the vendordep marketplace fetch/compare/update logic and generates the PR summary. |
Suppressed comments (1)
.github/scripts/update_vendordeps.py:119
- The script collects errors but always returns 0, so the scheduled workflow can appear successful even when it didn't actually check/update vendordeps (and no PR will be created to surface the error summary). Returning a non-zero exit code when
errorsis non-empty would make failures visible in Actions.
print(summary)
if args.summary:
args.summary.write_text(summary)
return 0
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This adds an automation for updating WPILib vendordep JSON files through GitHub Actions that runs monday at 12:00 UTC. A script fetches the latest vendordep versions from the WPILib marketplace, updates local files if newer versions are available, and generates a markdown summary, if there is any updated a PR is opened with the markdown summary as the body.