Skip to content

ci: trigger a satis rebuild when a release is cut - #32

Merged
oxyc merged 1 commit into
masterfrom
ci/satis-rebuild-hook
Jul 31, 2026
Merged

oxyc merged 1 commit into
masterfrom
ci/satis-rebuild-hook

Conversation

@oxyc

@oxyc oxyc commented Jul 31, 2026

Copy link
Copy Markdown
Member

Problem

Tagging v0.6.3 did not make the release installable. The satis index at generoi.github.io/packagist only re-reads tags on its 3h cron, so consumers got:

$ composer update generoi/gds-mcp
Nothing to modify in lock file

Composer exits 0 and keeps the previous commit — the failure is completely silent. The mirror had to be rebuilt by hand before btb-transformers could pull the fix.

Context

63 of the 72 type: vcs packages in satis already call the shared rebuild hook. This repo was one of 9 that did not; it only ever had test.yml. The same gap affects gds-block-animations, gds-content-translation and gravityforms-elisadesk (PRs opened separately).

Change

Adds .github/workflows/release.yml calling the shared reusable workflow, matching what gds-assistant, b2b-roles and gravityforms-altcha already do.

Triggers on a published Release and a bare v* tag push — both are used to cut versions across these repos (gds-block-animations has a v0.2.0 tag with no corresponding Release). Firing twice is harmless: the rebuild is idempotent and satis.yml serialises runs via concurrency.

Requires a secret grant to actually take effect

PACKAGIST_UPDATE_PAT is an org secret scoped to selected repositories. Until generoi/gds-mcp is added to the allow-list, update.yml warns and exits green by design, and releases keep landing via the 3h cron — i.e. no worse than today, just not yet better.

Grant it here: https://github.com/organizations/generoi/settings/secrets/actions/PACKAGIST_UPDATE_PAT

🤖 Generated with Claude Code

Tagging v0.6.3 did not make the release installable: the satis index at
generoi.github.io/packagist only re-reads tags on its 3h cron, so
`composer update generoi/gds-mcp` reported "Nothing to modify in lock file"
and kept resolving the previous commit. The mirror had to be rebuilt by hand.

63 of the 72 vcs packages in satis already call the shared rebuild hook.
This repo was one of the 9 that did not — it only ever had test.yml.

Fires on both a published Release and a `v*` tag push, since both are used
to cut versions across these repos. Needs PACKAGIST_UPDATE_PAT granted to
this repo to take effect; without the grant it warns and falls back to the
cron, which is the pre-existing behaviour.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@oxyc
oxyc merged commit 587772b into master Jul 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant