Follow back your GitHub followers using the GitHub API.
- Script retrieves GitHub token as environment variable
GH_TOKENor with the git password variable, using:
git config user.passwordExecute the script with:
node script.js- Generate a token in settings - token (classic), with the scopes for
followersandusers - Add the generated secret into the action secrets within the repository, with the name
ACTIONS_OAUTH_TOKEN.