Skip to content

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

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

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

Conversation

@intel352
Copy link
Copy Markdown
Contributor

@intel352 intel352 commented Jun 1, 2026

Replace the old notify-registry job that used REGISTRY_PAT and sent the full github.repository string as the plugin identifier with the fleet-canonical notify-workflow-registry job.

Changes:

  • Drops notify-registry job (REGISTRY_PAT secret, wrong payload shape, stale peter-evans/repository-dispatch@v3)
  • Adds notify-workflow-registry with pinned SHA (@28959ce8df70de7be546dd1250a005dd32156697 = v4), repo_dispatch_token secret, bare plugin name payload {"plugin":"teams",...}, and pre-release guard (!contains(github.ref_name, '-'))

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

Replace the old notify-registry job (REGISTRY_PAT + full github.repository
payload) with the fleet-canonical notify-workflow-registry job: pinned
peter-evans/repository-dispatch@v4 SHA, repo_dispatch_token secret, bare
plugin name payload {"plugin":"teams",...}, and pre-release filter
(!contains(github.ref_name,'-')).

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:08
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the release workflow to notify the canonical GoCodeAlone/workflow-registry via a pinned repository-dispatch (v4 SHA), using the expected payload shape ({"plugin":"teams","tag":...}) and guarding against pre-release tags.

Changes:

  • Replaces the legacy notify-registry job with notify-workflow-registry that targets GoCodeAlone/workflow-registry.
  • Pins peter-evans/repository-dispatch to a v4 commit SHA and switches to secrets.repo_dispatch_token.
  • Adds guards to avoid dispatching on deleted tags, pre-release tags, or non-canonical forks.

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

Comment on lines +59 to 61
- name: Trigger registry manifest sync
uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4
with:
Prior commit dropped the whole notify-registry job (which also held
verify-capabilities + the draft->non-draft Publish step). Restore them
(job renamed notify-registry -> publish-release), keep only the broken
dispatch removed, add canonical notify-workflow-registry.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@intel352 intel352 merged commit 8036534 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