Mudlet / mudlet-package-repository

A repository for Mudlet packages.
https://mudlet.github.io/mudlet-package-repository/
7 stars 7 forks source link

ability to submit a package via something other than github #40

Open ZookaOnGit opened 2 months ago

ZookaOnGit commented 2 months ago

such as an external website would probably then need to be manually approved

jmckisson commented 1 month ago

This is probably possible through GitHub (and maybe out of scope for this particular issue regarding non-GitHub methods). A workflow (in mudlet-package-repo) can be triggered by a webhook that is set up in the 3rd party repo, that workflow could then do an automatic pull and merge from the 3rd party repo, assuming you would want to allow this kind of action to be done without "approval" or some such. For security a secret token could be generated for each 3rd party repo (and stored in their secrets) to be sent via webhook. I suppose the workflow could be set up to only do this on a tagged commit as well.