Use the 'UpdateVersionBranch' and 'CheckMarketplaceMetadata' job templates - #56
Open
pytooling-claude[bot] wants to merge 2 commits into
Open
pytooling-claude[bot] wants to merge 2 commits into
pytooling-claude[bot] wants to merge 2 commits into
Conversation
…lates. The hand-written 'Create Pull-Request' job is replaced by 'UpdateVersionBranch'. It was hard-coded to open the pull-request against 'v6', while this repository publishes 'v7' - so a release proposed the update of a branch two majors behind. The template derives the branch, and 'major: 7' states the number here, because releases are tagged 'v1.x.y' while the consumable branch is 'v7'. 'CheckMarketplaceMetadata' validates 'action.yml' against the GitHub Marketplace rules on every push, and the release trigger waits for it, so a release can't be tagged with metadata the Marketplace would reject. This repository's description is 119 of the 125 allowed characters, which is six characters of headroom. Both templates are pinned '@dev' until pyTooling/Actions releases them; the rest of the pipeline stays on '@r7'. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
…lates. The hand-written 'Create Pull-Request' job is replaced by 'UpdateVersionBranch'. It was hard-coded to open the pull-request against 'v6', while this repository publishes 'v7' - so a release proposed the update of a branch two majors behind. The template derives the branch, and 'major: 7' states the number here, because releases are tagged 'v1.x.y' while the consumable branch is 'v7'. 'CheckMarketplaceMetadata' validates 'action.yml' against the GitHub Marketplace rules on every push, and the release trigger waits for it, so a release can't be tagged with metadata the Marketplace would reject. This repository's description is 72 of the 125 allowed characters. Both templates are pinned '@dev' until pyTooling/Actions releases them; the rest of the pipeline stays on '@r7'. Co-Authored-By: Patrick Lehmann <Paebbels@gmail.com>
pytooling-claude
Bot
force-pushed
the
claude/version-branch-and-marketplace
branch
from
September 11, 2026 22:29
716690b to
b2d7104
Compare
Paebbels
force-pushed
the
claude/version-branch-and-marketplace
branch
from
September 12, 2026 23:26
b2d7104 to
719d676
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.
Important
The pipeline on this branch is red, and will stay red until
pyTooling/Actions#260 is merged into
dev. Both new jobsreference
...@dev, and those two templates exist only on #260's branch so far, so GitHub rejects the workflow filebefore any job starts — the run has zero jobs, not a failing one. Merging #260 to
devturns this green with nochange here.
Bug Fixes
v6; this repository publishesv7. The hand-writtenCreate Pull-Requestjob hard-coded it:So every release proposed updating a branch that consumers stopped pinning 1 major version(s) ago, and
v7was left to be moved by hand. Replacing it with the job template removes the constant: the branch isderived, and the body says which release it carries and links the compare.
Changes
UpdateVersionBranchreplaces the hand-written job — 38 lines of inline shell become 13 lines ofinstantiation. Beyond the fixed branch, it also creates the branch when a new major appears, rewrites references to
this repository so the version branch names itself rather than
main, and retitles the pull-request still openfrom a previous release instead of failing to create a duplicate.
It is passed
major: '7', because this repository tags releasesv1.x.ywhile publishing av7branch — the branch number isn't the released version's major. That parameter was added to the template because of
this repository; the original assumed the two matched.
CheckMarketplaceMetadataruns on every push, andTriggerTaggedReleasenow waits for it, so a releasecan't be tagged with metadata the Marketplace would reject.
Checked against this repository as it stands: the description is 72 of the 125 allowed characters, the
branding icon and colour are accepted, and
action.ymlis at the root. Nothing to fix — butpyTooling/SynchronizeForksv1.0.0 was refused for a 127-character description, and that is discovered in the publish form, months after the
wording changed.
Both templates are pinned
@devuntilpyTooling/Actionsreleases them, with a comment saying so. The restof the pipeline stays on
@r7. This is the documented way to prove a template in a real repository before it isreleased.
Others
PublishReleaseNotesjob, and the last release body carries no pyTooling/Actions footer. Adding it would makethe release description come from the release pull-request automatically, the way
pyTooling/pyToolingandpyTooling/SynchronizeForksdo it. That changes how releases are written, so it isn't folded in silently.Related Issues and Pull-Requests
Once it is released, the two
@devreferences become@r8.🤖 Generated with Claude Code