Bundle prek version manifest and automate refresh#80
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 43a91fd6f6
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR adds automation to periodically refresh the bundled prek release manifest and open an update pull request (instead of pushing directly), keeping the action’s pinned runtime metadata up to date.
Changes:
- Add
scripts/update-version-manifest.mjsto regeneratesrc/version-manifest.jsonfrom the prek GitHub Releases API. - Add a scheduled + manually-triggerable workflow to run the updater, rebuild
dist/, and open a PR viapeter-evans/create-pull-request. - Filter release assets to only archive extensions when constructing the manifest.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| scripts/update-version-manifest.mjs | New manifest generator that fetches releases and writes the bundled version manifest JSON. |
| .github/workflows/update-version-manifest.yml | New scheduled workflow to run the generator, test/bundle on changes, and open an automated PR. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
fdc6f14 to
6d6c9c3
Compare
43a91fd to
6281c2d
Compare
6d6c9c3 to
ab90fe7
Compare
6281c2d to
1e1d565
Compare
0fd300a to
de011c0
Compare
Summary
Stack
Depends on #79.