Add create_release_tag.yml for pupmod repos as a thin caller of simp/gha-workflows (#85 pilot) - #43
Open
silug wants to merge 4 commits into
Open
Add create_release_tag.yml for pupmod repos as a thin caller of simp/gha-workflows (#85 pilot)#43silug wants to merge 4 commits into
silug wants to merge 4 commits into
Conversation
hcaballero2
previously approved these changes
Aug 5, 2026
silug
added a commit
to simp/pupmod-simp-mockup
that referenced
this pull request
Aug 13, 2026
Pilot for simp/puppetsync#85: the tagging logic lives in simp/gha-workflows (converted from simp/puppetsync#43); this shim only forwards the manual trigger. Pinned to a commit SHA until the pilot validates the calling contract and v1.0.0 is tagged. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
A workflow_dispatch action replacing the local shell script used to tag module releases: it validates the release (SemVer from metadata.json, tag doesn't exist, pkg:check_version, pkg:compare_latest_tag, metadata_lint) BEFORE tagging, generates the tag annotation from the CHANGELOG, and pushes the annotated tag (triggering tag_deploy.yml). Supports a dry_run input. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Pilot of the reusable-workflows model (simp#85): the tagging logic now lives in simp/gha-workflows as puppet_create_release_tag.yml, validated end-to-end on pupmod-simp-mockup 0.6.0 (dry run, real tag, tag_deploy, Forge publish, el8/el9/el10 RPMs — simp/pupmod-simp-mockup#104). The synced file is a workflow_dispatch shim pinned to v1.0.0; Renovate manages the pin per repo from here. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
merge_github_workflows.ensure_files lists templated workflow files to create when a repo lacks them (the task already writes full templates for missing paths). This rolls out a brand-new workflow without an apply_puppet_role session — blanket applies are currently unsafe because several enforce-strategy templates are behind the deployed fleet (e.g. spec_helper.rb would revert the voxpupuli-test migration). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
silug
force-pushed
the
create-release-tag-workflow
branch
from
August 13, 2026 18:31
8a28431 to
01efb4b
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.
Pilot of the reusable-workflows model from #85, rebased onto main and reworked so the synced file is a thin shim.
create_release_tag.ymlfor all pupmod repos — aworkflow_dispatchaction replacing the local tagging script: validates the release (SemVer frommetadata.json, tag doesn't exist,pkg:check_version,pkg:compare_latest_tag,metadata_lint) before tagging, generates the annotation from the CHANGELOG, and pushes the annotated tag (triggeringtag_deploy.yml). Supportsdry_run.simp/gha-workflows(puppet_create_release_tag.yml@v1.0.0); the synced file only forwards the trigger withsecrets: inherit. Validated end-to-end on pupmod-simp-mockup 0.6.0 (Add create_release_tag.yml calling the simp/gha-workflows reusable workflow pupmod-simp-mockup#104): dry run, real tag,tag_deploy.yml, Forge publish, and el8/el9/el10 RPMs. Fixes land there as a tag bump (Renovate manages the pins) instead of a fleet sync.merge_github_workflows.ensure_files— the merge stage can now create scoped workflow files that don't exist in a repo (the task already wrote full templates for missing paths). This session was originally going to useapply_puppet_rolefor the file creation, but testing revealed the enforce-strategy templates are behind the deployed fleet (a blanket apply would revert the voxpupuli-testspec_helper.rbmigration, breakingvalidate:strings— see Enforce-strategy templates are behind the deployed fleet; apply_puppet_role would revert fleet improvements (spec_helper.rb, .gitignore, ...) #88), so the rollout stays surgical.20260813-create-release-tag.yaml(nowlatest) — scoped to creating/merging the one file. mockup's existing SHA-pinned shim is left as-is (uses refs are preserved values; Renovate moves pins forward).Verified: 211 rspec + 20 BoltSpec plan examples green; local e2e creates the shim byte-identically on a repo that lacks it (aide) and reports
unchangedon one that has it (mockup).🤖 Generated with Claude Code