generated from slack-samples/deno-starter-template
-
Notifications
You must be signed in to change notification settings - Fork 11
/
manifest.ts
23 lines (22 loc) · 978 Bytes
/
manifest.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import { Manifest } from "deno-slack-sdk/mod.ts";
import GitHubProvider from "./external_auth/github_provider.ts";
import CreateNewIssueWorkflow from "./workflows/create_new_issue.ts";
/**
* The app manifest contains the app's configuration. This file defines
* attributes like app name, description, available workflows, and more.
* Learn more: https://api.slack.com/automation/manifest
*/
export default Manifest({
name: "Workflows for GitHub",
description: "Bringing oft-used GitHub functionality into Slack",
icon: "assets/default_new_app_icon.png",
externalAuthProviders: [GitHubProvider],
workflows: [CreateNewIssueWorkflow],
/**
* Domains used in remote HTTP requests must be specified as outgoing domains.
* If your organization uses a seperate GitHub Enterprise domain, add it here
* to make API calls to it from a custom function.
*/
outgoingDomains: ["api.github.com"],
botScopes: ["commands", "chat:write", "chat:write.public"],
});