| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Renovate bumps to bundled deps (@actions/*, yaml, zod) or the vite-plus bundler change dist/index.mjs, which fails the 'Verify dist is up to date' check until someone manually runs 'vp run build' and commits. Add a label-triggered workflow that rebuilds dist/ and pushes it back to the PR branch, and configure Renovate to attach the needs-bundle-rebuild label to those bumps. A GitHub App token is used for the push so the PR's required checks re-run.
Drop the hardcoded pnpm version (read from package.json packageManager) and use .node-version instead of a pinned node-version, matching the existing build job and avoiding version drift.
There was a problem hiding this comment.
This PR adds automation to keep the GitHub Action’s bundled output (dist/) in sync when Renovate updates dependencies that affect the bundle, by labeling such PRs and running an auto-rebuild workflow that commits refreshed dist/ back to the PR branch.
Changes:
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| .github/workflows/rebuild-bundle.yml | Adds a label-triggered workflow intended to rebuild dist/ and push the result back to the PR branch. |
| .github/renovate.json | Adds package rules so Renovate applies needs-bundle-rebuild to dependency updates that can change dist/. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Sorry, something went wrong.
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
|
|
||
| - name: Rebuild the action bundle | ||
| run: pnpm build |
| git commit -m "chore: rebuild action bundle for dependency update" | ||
| git push |
| Back | FazBrowse Home | New Git URL |
Renovate bumps to bundled deps (`@actions/*`, `yaml`, `zod`) or to the `vite-plus` bundler change `dist/index.mjs`, which fails the "Verify dist is up to date" check until someone manually runs `vp run build` and commits.
This adapts the label-triggered rebuild approach from voidzero-dev/pkg-pr-registry-bridge#47:
Relies on the org secrets `APP_ID` / `APP_PRIVATE_KEY` (same App/secrets as the reference repo).