From cfe3901ef2b8b70a91e2a6ae3ae6464923c2868b Mon Sep 17 00:00:00 2001 From: MK Date: Wed, 1 Jul 2026 19:24:58 +0800 Subject: [PATCH] Renovate: point bundle-dep note at the auto-rebuild workflow The needs-bundle-rebuild label already triggers rebuild-bundle.yml (added in #47), which re-runs pnpm build:action and pushes the refreshed dist. The prBodyNote still told maintainers to do that by hand, so following it caused duplicate/racing pushes (non-fast-forward rejects). Rewrite the note and the rule's description to state the rebuild is automatic, with a fork-PR fallback. --- renovate.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/renovate.json b/renovate.json index 98f54fb..55b0d92 100644 --- a/renovate.json +++ b/renovate.json @@ -11,7 +11,7 @@ "packageRules": [ { "description": [ - "nanotar (bundled) and esbuild (the bundler) are compiled into the committed publish-action bundle (.github/actions/publish-preview/dist), which CI rebuilds and diff-checks. A bump to either needs `pnpm build:action` re-run and the dist re-committed, so flag those PRs; the 'Verify action bundle' CI check is the backstop for anything else." + "nanotar (bundled) and esbuild (the bundler) are compiled into the committed publish-action bundle (.github/actions/publish-preview/dist). A bump to either can change that bundle, so flag those PRs with `needs-bundle-rebuild`, which triggers the rebuild-bundle workflow to re-run `pnpm build:action` and push the refreshed dist; the 'Verify action bundle' CI check is the backstop for anything else." ], "matchPackageNames": [ "nanotar", @@ -21,7 +21,7 @@ "needs-bundle-rebuild" ], "prBodyNotes": [ - "⚠️ This dependency is compiled into the committed publish-action bundle. Run `pnpm build:action` and commit `.github/actions/publish-preview/dist` on this branch, or the \"Verify action bundle\" CI check will fail." + "ℹ️ This dependency is compiled into the committed publish-action bundle. The `needs-bundle-rebuild` label triggers a workflow that re-runs `pnpm build:action` and pushes the refreshed `.github/actions/publish-preview/dist` to this branch automatically, so the \"Verify action bundle\" check passes without a manual rebuild. If that push doesn't run (e.g. a fork PR the bot can't push to), rebuild and commit the dist yourself." ] } ]