/github-org-notice

Maintenance scripts for GitHub organization

Primary LanguageRuby

github-org-notice

Check the following of GitHub organization and notify to Slack.

  • Repository permissions

    Slack message of permission checker

  • 2FA disabled users

    Slack message of 2FA checker

Setup

  1. Click Deploy
  2. Open Heroku scheduler ex. $ heroku addons:open scheduler --app <App Name>
  3. Add command to Heroku scheduler
    • $ bundle exec ruby permission.rb
    • $ bundle exec ruby tfa.rb