This template repository is a reference implementation for GitHub Enterprise Administrators looking to use user-inactivity to monitor and remove inactive users from a GitHub organization.
- Create a GitHub App
- Copy this repository into your organization.
- Update the audit workflow with your organization name.
- Update the report workflow with your organization name and the repository in which notification issues will be created.
- Update the kick workflow with your organization name and the repository in which notification issues are created.
This automation runs as a GitHub App. Follow these instructions to create an app and set the following secrets in your GitHub repository:
APP_ID
: The ID of the GitHub AppAPP_PRIVATE_KEY
: The private key of the GitHub AppAPP_INSTALLATION_ID
: The installation ID of the GitHub App installed in the target organization.