astropy / astropy-project

Documents and policies regarding the Astropy Project as a whole.
Creative Commons Attribution 4.0 International
36 stars 43 forks source link

GitHub Teams audit bot #160

Open pllim opened 4 years ago

pllim commented 4 years ago

This bot would audit the project's GitHub Team memberships against the team members reported on Astropy Team webpage. If any inconsistency is found, bot would open issue(s) on the relevant repository.

Possible cadence: Scheduled, when GitHub Team change is made, when repo access is updated.

Proposed by: @astrofrog

Blocked by: astropy/astropy.github.com#393

Also see: https://github.com/astropy/astropy.github.com/issues/323#issuecomment-689802741

bsipocz commented 4 years ago

Possible cadence: Scheduled, when GitHub Team change is made, when repo access is updated.

It could also run weekly, or bi-weekly, or monthly from cron, and report to a slack channel.

bsipocz commented 4 years ago

(also, the script could live in https://github.com/astropy/astropy-procedures, so we could run it manually if needed)

astrofrog commented 4 years ago

I think reporting to e.g. a Slack channel as @bsipocz suggests would be more effective than an issue on the relevant repo since otherwise we might miss those issues?

astrofrog commented 4 years ago

Just in case anyone is tempted to suggest it, the bot should definitely not try and actually update the teams otherwise anyone with write access to the website repo could edit any team 😆