-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgithub.plug.yaml
executable file
·48 lines (46 loc) · 1.05 KB
/
github.plug.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: github
requiredPermissions:
- fetch
functions:
queryEvents:
path: ./github.ts:queryEvents
events:
- query:gh-event
queryPulls:
path: ./github.ts:queryPulls
events:
- query:gh-pull
queryNotifications:
path: ./github.ts:queryNotifications
events:
- query:gh-notification
querySearchIssues:
path: ./github.ts:querySearchIssues
events:
- query:gh-search-issue
# Gist publishing
shareGistCommand:
path: ./github.ts:shareGistCommand
command:
name: "Share: Gist: Public Gist"
loadGistCommand:
path: ./github.ts:loadGistCommand
command:
name: "Share: Gist: Load"
openGistCommand:
path: ./github.ts:openGistCommand
command:
name: "Share: Gist: Open In Browser"
## Server side calls invoked from commands
createGist:
path: ./github.ts:createGist
env: server
updateGist:
path: ./github.ts:updateGist
env: server
events:
# For `Share: Publish` command
- share:gh-gist
getGist:
path: ./github.ts:getGist
env: server