Skip to content

ci(promotion): promote main from verified dev and release only tags on main - #3

Merged
soulbah merged 1 commit into
devfrom
ci/promotion-and-verified-tags
Oct 7, 2026
Merged

soulbah merged 1 commit into
devfrom
ci/promotion-and-verified-tags

Conversation

@soulbah

@soulbah soulbah commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

main did not exist and a version tag on any commit published to the stores, so an unreviewed or unpromoted commit could reach Open VSX and the Visual Studio Marketplace.

Changes

  • ci.yml (verify) runs on pull requests into dev and main and no longer on push. A pull request into main must come from this repository's dev and fast-forward main.
  • promote.yml, dispatched from dev with the promotion pull request number, fast-forwards main to the exact head on which verify passed.
  • release.yml refuses a tag whose commit is not on main or has no passing verify from its promotion pull request, before packaging or publishing anything.
  • docs/releasing.md and AGENTS.md describe promotion and tagging the main commit.

Validation

  • actionlint passes on the three workflows; Biome check passes.
  • Hosted verify on this pull request.
  • main will be created at the merged dev commit and protected together with dev (required verify, pull request, linear history).

@soulbah
soulbah merged commit 121cbe0 into dev Oct 7, 2026
5 checks passed
@soulbah
soulbah deleted the ci/promotion-and-verified-tags branch October 7, 2026 23:21
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