Skip to content

chore: Dependabot for @cloudhal/* and how the template stays current - #2

Merged
Madraka merged 1 commit into
mainfrom
chore/release-sync
Oct 26, 2026
Merged

Madraka merged 1 commit into
mainfrom
chore/release-sync

Conversation

@Madraka

@Madraka Madraka commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

What

The template side of cloudhal-dev/cloudhal#111. The release-sync PR itself comes from cloudhal-dev/cloudhal#135 (Template sync).

  • .github/dependabot.yml adds one grouped @cloudhal/* PR per release, daily at 06:00 Europe/Istanbul, configured as on cloudhal.com. It is the fallback for the release PR and moves dependencies only, not the theme.
  • README, "Staying current":
    • Every release opens a PR here. It moves @cloudhal/* and replaces src/, public/, astro.config.mjs and tsconfig.json with that version's starter. Merge it once its cloudhal/template-check status is green: Cloudhal's release workflow runs npm ci and cloudhal deploy --dry-run with WORKERS_CI=1 on a copy and posts the result.
    • What a copy made with the button should do with Dependabot PRs.
  • README, theme reference: now a pointer to the starter's README, which the sync keeps current, instead of a copy that drifts.
  • package-lock.json: adds better-sqlite3's "hasInstallScript": true, which npm writes on a full install.

No workflow files. The Deploy to Cloudflare button copies this repository with a GitHub App, and Cloudflare's docs do not say whether that copy may include .github/workflows/. A GitHub App without the workflows permission cannot push such files. So the check runs from cloudhal's side and reports as a commit status.

Verified (locally, on a fresh clone synced to 0.6.1)

  • npm ci and WORKERS_CI=1 npx cloudhal deploy --dry-run both pass ("Dry run OK. Workers: cloudhal-blog-site, cloudhal-blog-admin").
  • The sync is idempotent: a second run changes nothing.
  • The YAML parses.

🤖 Generated with Claude Code

Every Cloudhal release now opens a PR here from cloudhal-dev/cloudhal's
release workflow (cloudhal-dev/cloudhal#111), checked by its
cloudhal/template-check status. Dependabot's grouped @cloudhal/* PR is the
fallback (dependencies only), configured as on cloudhal.com. The README
says how the template and copies stay current and points the theme
reference at the starter's README, which the sync keeps current.
package-lock.json gains better-sqlite3's hasInstallScript, which npm
writes on a full install.

No workflow files: whether the Deploy to Cloudflare button's copy may
contain .github/workflows/ is not documented.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Madraka <8898640+Madraka@users.noreply.github.com>
@Madraka
Madraka merged commit aaabc88 into main Oct 26, 2026
@Madraka
Madraka deleted the chore/release-sync branch October 26, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant