feat(workflows): add Pre-Release-As trailer override to pre-release w…#1565
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1565 +/- ##
==========================================
- Coverage 85.50% 85.49% -0.01%
==========================================
Files 82 82
Lines 11805 11805
==========================================
- Hits 10094 10093 -1
- Misses 1711 1712 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
bindsi
approved these changes
May 11, 2026
WilliamBerryiii
approved these changes
May 11, 2026
rezatnoMsirhC
approved these changes
May 12, 2026
This was referenced May 14, 2026
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.
Description
Added
Pre-Release-As:commit trailer support to the custom pre-release workflow. When the HEAD commit onmaincontains aPre-Release-As: X.Y.Ztrailer, the workflow uses that value instead of the computed version. This mirrors how release-please honorsRelease-As:for the stable pipeline, giving maintainers a manual escape hatch to force a specific pre-release version number without rewriting git history.The override is self-consuming: subsequent pushes without the trailer revert to the standard computed math.
Resolves #1564
Related Issue(s)
Fixes #1564
Type of Change
Select all that apply:
Code & Documentation:
Infrastructure & Configuration:
AI Artifacts:
prompt-builderagent and addressed all feedback.github/instructions/*.instructions.md).github/prompts/*.prompt.md).github/agents/*.agent.md).github/skills/*/SKILL.md)Other:
.ps1,.sh,.py)Sample Prompts (for AI Artifact Contributions)
Testing
npm run lint:yaml— All 50 workflow files passed YAML lintingnpm run lint:md— 197 files, 0 errorsnpm run spell-check— 303 files, 0 issuesnpm run lint:frontmatter— 0 errors, 0 warningsnpm run lint:ps— All PowerShell files passedactionlint .github/workflows/release-prerelease-pr.yml— No errorsPRE_VERSIONassignment andGITHUB_OUTPUTechoChecklist
Required Checks
AI Artifact Contributions
Required Automated Checks
The following validation commands must pass before merging:
npm run lint:mdnpm run spell-checknpm run lint:frontmatternpm run validate:skillsnpm run lint:md-linksnpm run lint:psnpm run plugin:generatenpm run docs:testSecurity Considerations
Additional Notes
Post-Merge Steps
After this PR merges, two empty override commits must be pushed to
main(requires maintainer access):Release-As: 3.4.0— corrects PR chore(main): release hve-core 4.0.0 #1184 (stable release) from4.0.0to3.4.0Pre-Release-As: 3.3.<N>— corrects PR chore(main): pre-release 4.1.129 #1476 (pre-release) from4.1.xto3.3.xThe exact
<N>value depends on the commit count at push time. See the implementation plan for details.