EclipseFdn / eclipsefdn-github-sync

This toolset is responsible for synchronizing committers, contributors and settings across all Eclipse Foundation GitHub repositories and organizations.
Eclipse Public License 2.0
0 stars 7 forks source link

Notify webmaster if ECA app is not installed #44

Open chrisguindon opened 4 years ago

chrisguindon commented 4 years ago

is it possible to fetch apps in an organization so that we can send an email to webmaster to let them know that the ECA app is missing for one of our organization?

autumnfound commented 3 years ago

Looking into this, there is some additional auth work we would have to do in the sync script to validate this. See https://docs.github.com/en/developers/apps/authenticating-with-github-apps#authenticating-as-a-github-app

TLDR: We would need to generate a JWT for a separate GH API object that validates against the app's pub key. Do we have the public/private key stuff set up anywhere that I can poke at to test?