Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joshspicer/triage-bot-azure
A collection of Teams bots for software dev teams. Hosted as Azure functions.
https://github.com/joshspicer/triage-bot-azure
azure azure-functions slackbot teams teams-bot
Last synced: 15 days ago
JSON representation
A collection of Teams bots for software dev teams. Hosted as Azure functions.
- Host: GitHub
- URL: https://github.com/joshspicer/triage-bot-azure
- Owner: joshspicer
- Created: 2020-07-07T20:36:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-30T14:26:39.000Z (about 4 years ago)
- Last Synced: 2024-11-29T20:55:16.306Z (23 days ago)
- Topics: azure, azure-functions, slackbot, teams, teams-bot
- Language: Python
- Homepage:
- Size: 3.45 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# triage-bot-azure
A simple collection of azure functions to send ~slackbot~ Teams bot messages to our dev team## Usage
This repo structure was generated by VS Code.
The simplest way to upload these functions will be through the [Azure Functions](https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions) extension.These functions were developed with Python 3.7.
### Functions
#### DoDailyPRReminder
- Sends a Slack message to anybody on the team with "review requested" on our repos.
- Is triggered daily via the CRON string `0 50 13 * * *"` (Azure is in UTC).#### DoFeedbackTriage
- Every Monday sends a message with who is on Triage duty, and the two on deck.
- Is triggered by a message on the queue (so that we can have two Cron timers).#### TriageTriggerET & TriageTriggerGMT
- Two timer trigger functions that simply add a message to a shared queue, triggering `DoFeedbackTriage`### Environment Variables
These variables must be set on Azure, or via a `local.settings.json` while testing locally.
* ~`SLACK_HOOK` : The full URI for given Slack channel to send webhook to~
* `TEAMS_HOOK` : The full URI for Teams webhook
* `GITHUB_TOKEN` : A Github token with visibility into any private repos necessary
* `FEEDBACK_URL` : The full URI for our feedback dashboard
* `uitoolsbot_STOARGE` : Connection string for the shared Queue between functions
* `FUNCTIONS_WORKER_RUNTIME` : `python`