Repository navigation
ci(release): trigger the brevo-skills sync after a publish - #139
Closed
piyushsarin-sib wants to merge 1 commit into
Closed
piyushsarin-sib wants to merge 1 commit into
piyushsarin-sib wants to merge 1 commit into
Conversation
After a release publishes, dispatch getbrevo/brevo-skills' sync-skill workflow for brevo-cli at the release commit. That repo packages agent-context/SKILL.md for every agent platform and opens a PR there for review. Best-effort: skipped with a warning without BREVO_SKILLS_SYNC_TOKEN, and continue-on-error so it never fails a release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
5 of 6 tasks
Collaborator
Author
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.



What changed
After a release publishes
@getbrevo/cli, a new step inrelease.yamldispatches thesync-skillworkflow ingetbrevo/brevo-skillsfor thebrevo-cliskill, at the release commit. That repo packagesagent-context/SKILL.mdfor every agent platform. Its sync opens a PR there for review, so nothing reaches users without a merge on that side.Safety
continue-on-error. WithoutBREVO_SKILLS_SYNC_TOKENit logs a warning and exits0.!cancelled(), like the Homebrew bump.~/.netrc, so the step sits before the Homebrew bump, which must stay last because it deletes~/.netrc.GITHUB_SHAand fixed strings.Before merging (why this is a draft)
BREVO_SKILLS_SYNC_TOKENsecret to thenpm-publishenvironment: a fine-grained token, or a GitHub App token, withactions: writeongetbrevo/brevo-skillsonlysync-skill.ymlmust be ongetbrevo/brevo-skills' default branch, becauseworkflow_dispatchonly finds workflows there🤖 Generated with Claude Code