ubiquity / ubiquibot

Putting the 'A' in 'DAO'
https://github.com/marketplace/ubiquibot
MIT License
16 stars 59 forks source link

Delegated Compute Enhancements #902

Closed 0x4007 closed 5 months ago

0x4007 commented 7 months ago
0x4007 commented 7 months ago

If we want to provide some ubiquity governance token incentive for partners to start using our bot to manage their repositories, how do you think we can securely implement this with a whitelist?

0x4007 commented 6 months ago

@wannacfuture rfc

whilefoo commented 6 months ago

I think we should create another Github app for plugins that requests permission actions:write (for triggering workflow_dispatch) so that way we can invoke any plugin that has this app installed on the repository, instead of having a PAT which is created by a certain user so it means the user needs permissions on every plugin repo.

Having a PAT also won't work because the Github compute action won't be able to trigger a repository_dispatch event on other repositories without having explicit access, so I think it would be better to create repository_dispatch event on the plugin repository itself which will trigger our bot.

ubiquibot[bot] commented 5 months ago
# Issue was not closed as completed. Skipping.