Skip to content

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

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

Conversation

@intel352

@intel352 intel352 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Replaces the broken two-pronged registry notification with the fleet-canonical pattern.

Removed:

  • Direct manifest-write step that cloned workflow-registry, patched plugins/steam/manifest.json via REGISTRY_PAT — over-privileged and races with registry-side tooling
  • notify-registry job using peter-evans/repository-dispatch@v3 with wrong token (REGISTRY_PAT), wrong plugin name (github.repository instead of bare steam), and no pre-release/deletion guards

Added:

  • notify-workflow-registry job matching fleet standard: pinned @v4 digest, secrets.repo_dispatch_token, bare name "steam", correct guards (!deleted, no pre-release hyphen, repo check)

Replaced the broken two-pronged registry notification approach with the
fleet-canonical pattern:

- REMOVED: direct manifest-write step that cloned workflow-registry,
  patched plugins/steam/manifest.json, and pushed via REGISTRY_PAT.
  This required an over-privileged PAT and raced with registry-side
  tooling that owns manifest content.
- REMOVED: notify-registry job using peter-evans/repository-dispatch@v3
  with full github.repository as plugin name and REGISTRY_PAT token —
  both wrong per fleet standard.
- ADDED: notify-workflow-registry job using pinned
  peter-evans/repository-dispatch@28959ce (v4),
  secrets.repo_dispatch_token, bare plugin name "steam", and correct
  pre-release/deletion guards matching all fleet peers.

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

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

This PR updates the release workflow to notify GoCodeAlone/workflow-registry using the fleet-canonical repository-dispatch pattern, removing the prior direct manifest-edit/PR flow and the broken dispatch job.

Changes:

  • Removed the “Update registry manifest” step that cloned and modified workflow-registry using an elevated PAT.
  • Replaced the old notify-registry job with notify-workflow-registry, using a pinned peter-evans/repository-dispatch v4 SHA.
  • Added guards to only dispatch on non-deleted, non-pre-release tags and only from the expected repository, with a “bare” plugin name payload (steam).

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

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