Skip to content

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

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)#22
intel352 merged 1 commit into
mainfrom
chore/canonical-registry-notify

Conversation

@intel352

@intel352 intel352 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Replace notify-registry job (using dead REGISTRY_PAT secret and full repo-name payload) with fleet-canonical notify-workflow-registry job.

Changes:

  • Uses repo_dispatch_token (the live fleet secret)
  • Sends bare plugin name "discord" (not github.repository) so the registry consumer doesn't need to parse/strip the org prefix
  • Pins peter-evans/repository-dispatch to SHA (v4)
  • Adds pre-release and fork guard (!contains(github.ref_name, '-') + github.repository == '...')
  • Drops continue-on-error: true (silent failures hidden the dead dispatch)

Replace dead notify-registry job (REGISTRY_PAT + full repo name payload)
with fleet-canonical notify-workflow-registry job: pinned peter-evans/
repository-dispatch@v4 SHA, repo_dispatch_token secret, bare plugin name
"discord" payload, and pre-release/fork guard conditions.

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:07

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 to reliably notify the central workflow-registry when this plugin is released, using the canonical dispatch mechanism and safer guards.

Changes:

  • Replaces the old notify-registry job (dead secret + silent failure) with notify-workflow-registry using secrets.repo_dispatch_token.
  • Sends a simplified dispatch payload ({"plugin":"discord","tag":"..."}) and pins peter-evans/repository-dispatch to a v4 commit SHA.
  • Adds guards to avoid running on tag deletions, pre-releases, and forks; removes continue-on-error to surface failures.

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

@intel352 intel352 merged commit d1672cc 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