Skip to content

Wire event-driven plugin-input bumps (repository_dispatch from plugin repos) #650

Description

@rynfar

Follow-up from #635 (@connor-grady). The daily cron in .github/workflows/update-plugins.yml is a stopgap — the right trigger is event-driven:

  1. Create a fine-grained PAT with contents: write (or a GitHub App) authorized for this repo, stored as a secret in each plugin repo (meridian-plugin-hermes-scrub, meridian-plugin-opencode-scrub, meridian-plugin-pi-scrub).
  2. Each plugin repo gains a small workflow that fires repository_dispatch (e.g. event_type: plugin-updated) at rynfar/meridian on push to its default branch.
  3. update-plugins.yml adds repository_dispatch: { types: [plugin-updated] } to its on: block — the update logic needs no changes and the cron stays as a safety net.

Only the repo owner can mint the PAT/App credentials, which is why this didn't ship with #649.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions