Repository navigation
Replace 10up deploy with manual release workflow - #68
Merged
Merged
Conversation
🔍 WordPress Plugin Check Report
📊 Report
|
| 📍 Line | 🔖 Check | 💬 Message |
|---|---|---|
169 |
WordPress.NamingConventions.PrefixAllGlobals.DynamicHooknameFound | Hook names invoked by a theme/plugin should start with the theme/plugin prefix. Found: "self::FILTER_MAX_SITES". |
🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check
deploy.yml published to WordPress.org on any tag push, from a tree it built itself. Releases now run only through the manual Release workflow, and deploy.yml goes away so nothing can publish twice. - Release runs from dev/main only. It builds main through build-and-distribute with PACKAGE_VERSION set to VERSION, so the released commit is the built, version-stamped one. - Plugin Check runs on the built package without ignore-codes. A failing check blocks the tag and the WordPress.org step. - The tag job checks that main carries this run's SHA and VERSION before tagging it, and reuses the tag when it already points to this build. - wordpress-org-release publishes that tag. DRY_RUN defaults to true, so a careless click never publishes. - The GitHub release and the attestation run on github.com only, after a real WordPress.org release, never on a dry run. The attestation compares against the zip WordPress.org serves, so it cannot run earlier. - There is no trunk-only option: the strict Stable tag check would always fail it, and the dry run already previews trunk. - The workflow token is read-only by default. Only the GitHub release job gets write access; tags are pushed with the deploy bot's key. - CONTRIBUTING.md documents the release procedure.
lloc
force-pushed
the
ci/wordpress-org-release
branch
from
October 26, 2026 12:26
dc9c60d to
9477ba7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This removes
deploy.yml(the 10up deploy on every tag push) and adds a manual Release workflow.Stacked on #67 (build-and-distribute). Review only the last commit until #67 is merged.
Jobs
guard: runs fromdev/mainonly, andVERSIONmust beMAJOR.MINOR.PATCH.build: build-and-distribute withPACKAGE_VERSION: VERSION, somaincarries the released version and the source SHA.plugin-check-built: Plugin Check on the built package, strict, with no ignored codes. A failure blocks the release.tag: checks thatmainhas this run's SHA and version, then tags it with the deploy bot's key. It reuses the tag if it's already on this build.wporg:wordpress-org-release.ymlfrominpsyde/reusable-workflowspublishes that tag.DRY_RUNdefaults to true, so a careless click never publishes.github-release: runs after a real WordPress.org release only, never on a dry run. It creates the GitHub Release withmultisyde.zipand the build provenance attestation (johnbillion/action-wordpress-plugin-attestation, which compares against the zip WordPress.org serves).The token is read-only everywhere except
github-release. There is no trunk-only mode: the strict Stable tag check would always fail it, and the dry run already previews trunk.Release procedure (CONTRIBUTING.md → Releasing)
dev/main, bumpVersion:inmultisyde.php, plusStable tagand the changelog inreadme.txt, and merge.dev/mainwith thatVERSION. It's a dry run by default. Review the run, then run it again withDRY_RUNoff.Tested
On a local Gitea, against the real WordPress.org SVN with dummy credentials:
wporgchecks up tosvn commit, which failed at authentication as intendedmainOnly verifiable here on GitHub:
DRY_RUNactually reaching the called workflow (a Gitea bug passes booleans throughworkflow_callasfalse)