Skip to content

Publish a GitHub prerelease for each main merge - #19

Merged
mikkel merged 1 commit into
mainfrom
ci/main-merge-prerelease
Nov 18, 2026
Merged

mikkel merged 1 commit into
mainfrom
ci/main-merge-prerelease

Conversation

@mikkel

@mikkel mikkel commented Nov 18, 2026

Copy link
Copy Markdown
Member

Publish a source prerelease from the exact commit produced by each pull request merged into main. Each prerelease links back to the pull request and publishing run. Its commit-based tag makes reruns safe and keeps stable versions in the Latest slot.

The release job reads GitHub merge metadata without checking out or executing the proposed code. It publishes to this repository with GitHub's repository-scoped token.

The setup merge uses GitHub's skip marker for the existing push-triggered workflows, or Cloudflare Pages' skip marker where applicable, to avoid an unrelated production deploy. The pull request checks and new release workflow still run.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying patchling with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0f216d0
Status: ✅  Deploy successful!
Preview URL: https://042959c6.patchling.pages.dev
Branch Preview URL: https://ci-main-merge-prerelease.patchling.pages.dev

View logs

@mikkel
mikkel merged commit 25c5d21 into main Nov 18, 2026
8 checks passed
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