demo-hub / MrApollo

Your annoying assistant

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mr. Apollo

Integrations

Slack

  • Notifies Slack channel/user/group if a PR is without activity for at least X hours

JIRA

  • Adds comment to JIRA ticket if it is without activity for at least X days

Development

Bitbucket

For authentication, you will need to create a consumer on Bitbucket first.

Slack

You will need to create a new app with the scopes channels:read and chat:write

It's recommended to create a new, empty public channel just for testing while developing

Environment variables

BITBUCKET_BASIC_AUTH_CREDENTIAL: Bitbucket credential for basic auth in base64

ACCOUNT_IDS: Account IDs of PRs authors

REPO_SLUG: Repository name

WORKSPACE: Workspace name

TIME_TO_NOTIFY_PR_IN_H: Time in hours a PR needs to be without activity to trigger notifications

SLACK_TOKEN: Slack App Token

SLACK_CHANNEL_ID: Slack channel ID

SLACK_USER_TO_TAG: Slack handle of the user/group to tag in messages

MESSAGES_INTERVAL_IN_MS: Interval in milliseconds between messages

WORKING_HOURS_START: Working start hour time in 24h format

WORKING_HOURS_END: Working end hour time in 24h format

JIRA_API_TOKEN: JIRA API Token for authentication

JIRA_HOST: JIRA Host

JIRA_EMAIL: JIRA Email for authentication

JIRA_TARGET_PROJECT: JIRA Project Key

TIME_TO_NOTIFY_ISSUE_IN_DAYS: Time in days an issue needs to be without activity to trigger notifications

About

Your annoying assistant


Languages

Language:TypeScript 100.0%