Skip to content

ci: canonical registry notify (fix dead dispatch + drop manifest-overwrite)#11

Merged
intel352 merged 1 commit into
mainfrom
chore/canonical-registry-notify
Jun 1, 2026
Merged

ci: canonical registry notify (fix dead dispatch + drop manifest-overwrite)#11
intel352 merged 1 commit into
mainfrom
chore/canonical-registry-notify

Conversation

@intel352

@intel352 intel352 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Fixes the dead registry dispatch: the old notify-registry job sent {"plugin": "GoCodeAlone/workflow-plugin-analytics", ...} but the workflow-registry resolver expects a bare plugin name. Now sends {"plugin": "analytics", ...}.

Also modernises to the fleet-canonical pattern:

  • Pinned peter-evans/repository-dispatch@28959ce8... (v4)
  • repo_dispatch_token secret (replaces REGISTRY_PAT)
  • Pre-release guard (!contains(github.ref_name, '-'))
  • Repository-scoped if condition

Fixes dead dispatch: the workflow-registry resolver rejects an
owner/repo payload like "GoCodeAlone/workflow-plugin-analytics"; it
expects a bare plugin name. Switch client-payload to {"plugin":
"analytics", ...}.

Also drops the regressing direct manifest-write pattern (none present
here, but the old notify-registry job used a non-pinned action SHA and
REGISTRY_PAT). Replaces with fleet-canonical notify-workflow-registry
job: pinned peter-evans/repository-dispatch@28959ce8... (v4),
repo_dispatch_token secret, pre-release guard (!contains ref_name '-'),
repository scoped to this plugin.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 1, 2026 05:06

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the release workflow’s registry notification to match the workflow-registry “canonical” dispatch pattern and fixes the dispatch payload so the registry resolver receives the expected bare plugin name.

Changes:

  • Renames and tightens the registry notification job (notify-workflow-registry) with repository scoping and a pre-release guard.
  • Pins peter-evans/repository-dispatch to a v4 commit SHA and switches to secrets.repo_dispatch_token.
  • Fixes client-payload to send "plugin": "analytics" instead of the full ${{ github.repository }}.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@intel352 intel352 merged commit cb0092c into main Jun 1, 2026
5 checks passed
@intel352 intel352 deleted the chore/canonical-registry-notify branch June 1, 2026 05:25
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.

2 participants