feat: automate release flow with GitHub App, per-skill versions, and supabase-plugin dispatch#75
Merged
Merged
Conversation
- Switch release-please to use GitHub App token (GH_APP_ID / GH_APP_PRIVATE_KEY) so CI runs on release PRs, matching the pattern used in supabase-mcp - Add a second GitHub App token step scoped to supabase-community to dispatch the sync-agent-skills workflow in supabase-plugin immediately after each release - Add per-skill SKILL.md metadata.version bumps to release-please-config.json extra-files so skill versions are kept in sync automatically on every release Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
- Remove stale instruction to manually bump metadata.version (now automated) - Document end-to-end release flow: conventional commit → Release Please PR → GitHub release → tarballs → supabase-plugin dispatch - Add release-please-config.json registration step for new skills with the required extra-files JSON snippet - Add troubleshooting footnotes for bad-state Release Please PRs and missed supabase-plugin dispatches Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
ecece1d to
47a367f
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.
Summary
GITHUB_TOKENto a GitHub App token (GH_APP_ID/GH_APP_PRIVATE_KEY) so CI workflows run on release PRs, matching the pattern used insupabase-mcpsupabase-community) dispatches thesync-agent-skillsworkflow insupabase-community/supabase-pluginimmediately viaworkflow_dispatch, instead of waiting for the weekly cronSKILL.mdtorelease-please-config.jsonextra-filessometadata.versionis bumped automatically on every release; contributors no longer need to bump it manuallyCONTRIBUTING.mdandAGENTS.mdreflect the accurate end-to-end release flow, include therelease-please-config.jsonregistration step for new skills, and add troubleshooting footnotesSecrets required in
supabase/agent-skillsGH_APP_IDsupabase/agent-skills— enables CI on release PRsGH_APP_PRIVATE_KEYGH_APP_ID_SUPABASE_PLUGINsupabase-community— dispatches sync to supabase-pluginGH_APP_PRIVATE_KEY_SUPABASE_PLUGINAll four secrets are already configured.
Closes AI-673