Skip to content

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

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

Conversation

@intel352

@intel352 intel352 commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Switch release.yml to fleet-canonical registry-notify pattern.

Removed:

  • Sync manifest to registry step: git-cloned workflow-registry and directly wrote plugins/openlms/manifest.json (fragile, bypasses registry sync logic, used REGISTRY_PAT)
  • notify-registry job: used peter-evans/repository-dispatch@v3, REGISTRY_PAT secret, and full github.repository as plugin name (wrong — registry expects bare name openlms)

Added:

  • notify-workflow-registry job: pinned peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 (v4), repo_dispatch_token secret, bare-name payload {"plugin":"openlms","tag":"..."}, pre-release guard (!contains(ref_name, '-')), needs: release

Remove direct manifest-write step (git-clone registry + jq-write
plugins/openlms/manifest.json) and old notify-registry job (REGISTRY_PAT,
peter-evans/repository-dispatch@v3, full github.repository payload).

Add fleet-canonical notify-workflow-registry job: pinned
peter-evans/repository-dispatch@28959ce (v4),
repo_dispatch_token secret, bare plugin name payload {"plugin":"openlms",...},
pre-release filter (!contains ref_name '-'), needs: release.

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 notify the central workflow-registry via a repository dispatch (canonical “registry-notify” pattern), removing the prior approach that directly cloned and overwrote the registry manifest.

Changes:

  • Removed the step that git-cloned GoCodeAlone/workflow-registry and directly wrote plugins/openlms/manifest.json.
  • Replaced the old notify-registry job (v3 dispatch, REGISTRY_PAT, and incorrect github.repository payload) with a new notify-workflow-registry job.
  • Added a pinned peter-evans/repository-dispatch (v4) invocation sending the bare plugin name (openlms) and tag, guarded to skip pre-releases.

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

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