ci: adopt canonical release pipeline (stamp + release) - #10
Merged
Conversation
Bring twig-attribute onto the shared release infrastructure (mirrors timber-kit / styleguide): - add release-stamp.yml + release.yml — guards run `composer test` + `composer phpstan`, dispatch step carries `actions: write` - add the missing composer `test` / `phpstan` scripts the guards rely on - rename ci.yml -> tests.yml (PHP 8.3/8.4 matrix unchanged; trigger keeps main + master so it works before and after the default-branch rename) - add .gitattributes export-ignore (ships src/ + root AttributeExtension.php) - update the AGENTS.md release section to the automated flow Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Brings twig-attribute onto the shared
parisekrelease infrastructure (same shape astimber-kit/styleguide). The AGENTS.md release section already said "if one lands, mirror parisek/timber-kit" — this lands it.What
release-stamp.yml+release.yml— manualStamp Releasedispatch → validate, require non-empty[Unreleased], runcomposer test+composer phpstanguards, stamp CHANGELOG, commit/tag/push, dispatchrelease.yml→ GitHub Release. Includes theactions: writepermission (the fix fromparisek/timber-kit#35).scripts— added the missingtest/phpstanscripts the guards (and a uniform contributor workflow) rely on.ci.yml→tests.yml— naming consistency; PHP 8.3/8.4 matrix unchanged. Trigger keepsmain+masterso it works both before and after the default-branch rename..gitattributes—export-ignoredev files; shipssrc/+ the rootAttributeExtension.php(root namespace maps to"").Follow-up (needs your action)
Default branch is still
master. Renamingmaster→main(to match the rest of the parisek packages) is a repo-admin change I intentionally did not perform automatically — do it from the GitHub UI /gh api .../branches/master/renamewhen you're ready. This PR'stests.ymlalready triggers on both, so nothing breaks either way.🤖 Generated with Claude Code