This repository has been archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
skill.yaml
872 lines (865 loc) · 67.8 KB
/
skill.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
#
# Copyright © 2021 Atomist, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: 1
skill:
name: github-notifications-skill
namespace: atomist
displayName: GitHub Notifications
author: Atomist
description: Get actionable visibility into your GitHub activity right in chat
longDescription: |
Get rich notifications in chat for activity in your GitHub repositories and
harness the power of chatops.
- See all commit, push, issue and pull request activity in neatly presented
in chat messages
- Notifications are actionable — react to GitHub activity from Slack —
comment on issues and PRs, close issues and merge PRs with buttons right in
the Slack message
- Configure the amount of information you get in notification messages
categories:
- CHAT
license: Apache-2.0
homepageUrl: https://github.com/atomist-skills/github-notifications-skill
iconUrl: https://raw.githubusercontent.com/atomist-skills/github-notifications-skill/main/docs/images/icon.svg
artifacts:
gcf:
- entryPoint: sdm
memory: 2048
timeout: 540
runtime: nodejs10
name: gcf
resourceProviders:
- name: github
displayName: GitHub
typeName: GitHubAppResourceProvider
description: GitHub
minRequired: 1
- name: chat
displayName: Chat
typeName: ChatProvider
description: Chat
minRequired: 1
parameters:
- chatChannels:
name: channels
displayName: Chat channels
description: >
Chat channels to receive notifications if a repository isn't linked to specific channels. You can link repositories
to channels by running `@atomist repos` in a chat channel or by using the [channel linking web interface](https://go.atomist.com/r/auth/manage/integrations/add/SlackResourceProvider).
required: false
- stringArray:
name: ignores
displayName: Ignore users
description: GitHub users to ignore when posting notifications to chat. This can be used to ignore activity from bots and apps.
required: false
- stringArray:
name: ignoreCommits
displayName: Ignore commits
description: Provide regular expression to match against commit message to suppress Git pushes to show in chat.
required: false
- repoFilter:
name: repos
displayName: Which repositories
description: ""
required: true
commands:
- name: ConfigureDirectMessageUserPreferences
description: Configure your personal Direct Message preferences
pattern: "^(?:configure\\s+direct\\s+messages|configure\\s+dms|configure\\s+dm\\s+preferences)$"
- name: ConfigureLifecyclePreferences
description: Configure notification preferences for the current channel
pattern: "^(?:configure\\s+notifications)$"
- name: CreateChannel
description: Create a channel and link it to a repository
pattern: ^(?:link\s+channel)(?:\s+--(?:channel|repo)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: LinkRepo
description: Link a repository and channel
pattern: "^(?:repo|link\\s+repo|link\\s+repository)$"
- name: ListRepoLinks
description: Show repositories linked to this channel and optionally unlink them
pattern: "^(?:repos|repositories)$"
- name: UnlinkRepo
description: Unlink a repository and a channel
pattern: "^(?:unlink\\s+repo|unlink\\s+repository)$"
- name: AddGitHubPullRequestAutoLabels
description: Add Auto-merge pull request and Auto-rebase labels
pattern: "^(?:add\\s+pr\\s+labels|add\\s+auto\\s+merge\\s+labels)$"
- name: AssignGitHubPullRequestReviewer
description: Assign a reviewer to a pull request
pattern: ^(?:assign\s+reviewer|assign\s+github\s+reviewer)(?:\s+--(?:issue|reviewer)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: AssignToMeGitHubIssue
description: Assign an issue to me or another named user
pattern: ^(?:assign\s+issue\s+to\s+me|assign\s+github\s+issue\s+to\s+me)(?:\s+--(?:issue|assignee)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: CloseGitHubIssue
description: Close an issue
pattern: ^(?:close\s+issue|close\s+github\s+issue)(?:\s+--(?:issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: CommentGitHubIssue
description: Comment on an issue
pattern: ^(?:comment\s+issue|comment\s+github\s+issue)(?:\s+--(?:issue|comment)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: CreateGitHubIssue
description: Create a new issue
pattern: ^(?:create\s+issue|create\s+github\s+issue)(?:\s+--(?:title|body)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: CreateGitHubRelease
description: Create a release of a repository
pattern: ^(?:create\s+release|create\s+github\s+release)(?:\s+--(?:tag|message)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: CreateGitHubTag
description: Create a tag
pattern: ^(?:create\s+tag|create\s+github\s+tag)(?:\s+--(?:tag|sha|message)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: CreateRelatedGitHubIssue
description: Create a new issue in a different repository related to an issue in a selected repository
pattern: ^(?:related\s+issue|related\s+github\s+issue)(?:\s+--(?:targetOwner|targetRepo|issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: DeleteGitHubBranch
description: Deletes a branch
pattern: ^(?:delete\s+branch|delete\s+github\s+branch)(?:\s+--(?:branch)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: DisplayGitHubIssue
description: Display an issue
pattern: ^(?:show\s+issue|show\s+github\s+issue)(?:\s+--(?:issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: DisplayGitHubPullRequest
description: Display a pull request
pattern: ^(?:show\s+pull\s+request|show\s+pr|show\s+github\s+pr|show\s+github\s+pull\s+request)(?:\s+--(?:issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: EnableGitHubPullRequestAutoMerge
description: Enable auto-merge for pull requests
pattern: ^(?:auto\s+merge\s+pr|auto\s+merge\s+github\s+pr)(?:\s+--(?:issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: EnableGitHubPullRequestAutoRebase
description: Enable auto-rebase for pull requests
pattern: ^(?:auto\s+rebase\s+pr|auto\s+rebase\s+github\s+pr)(?:\s+--(?:issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: LinkRelatedGitHubIssue
description: Link a related issue to a different repository
pattern: ^(?:link\s+issue|link\s+github\s+issue)(?:\s+--(?:targetOwner|targetRepo|targetIssue|issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: ListMyGitHubIssues
description: List your issues from linked repositories
pattern: ^(?:my\s+issues|my\s+github\s+issues)(?:\s+--(?:days)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: MergeGitHubPullRequest
description: Merge a pull request
pattern: ^(?:merge\s+pr|merge\s+pullrequest|merge\s+github\s+pr|merge\s+gihub\s+pullrequest)(?:\s+--(?:issue|mergeMethod|title|message|sha)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: MoveGitHubIssue
description: Moves an issue to a different repository
pattern: ^(?:move\s+issue|move\s+github\s+issue)(?:\s+--(?:targetOwner|targetRepo|issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: RaiseGitHubPullRequest
description: Raise a pull request
pattern: ^(?:raise\s+pr|raise\s+pullrequest|raise\s+github\s+pr|raise\s+github\s+pullrequest)(?:\s+--(?:title|body|base|head)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: ReactGitHubIssue
description: Add a reaction to an issue
pattern: ^(?:react\s+issue|react\s+github\s+issue)(?:\s+--(?:reaction|issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: ReactGitHubIssueComment
description: Add a reaction to an issue comment
pattern: ^(?:react\s+issue\s+comment|react\s+github\s+issue\s+comment)(?:\s+--(?:reaction|comment)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: ReopenGitHubIssue
description: Reopen an issue
pattern: ^(?:reopen\s+issue|reopen\s+github\s+issue)(?:\s+--(?:issue)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: SearchGitHubRepositoryIssues
description: Search issues and pull requests
pattern: ^(?:search\s+issues|search\s+github\s+issues)(?:\s+--(?:q|days|perPage|page|id)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
- name: ToggleLabelGitHubIssue
description: Add or remove an issue label
pattern: ^(?:toggle\s+issue\s+label|toggle\s+github\s+issue\s+label)(?:\s+--(?:issue|label)=(?:'[^']*?'|"[^"]*?"|[\w]*?))*$
subscriptions:
- subscription NotifyPusherOnBuild { Build { _id status buildUrl name number provider
buildId commit { sha message committer { login person { chatId { screenName preferences
{ name value } chatTeam { id preferences { name value } } } } } } repo { name owner
org { provider { url apiUrl providerId providerType private } } channels { name
channelId } } }}
- "subscription BranchToBranchLifecycle { Branch { _id pullRequests(first: 1, orderBy:
[timestamp_desc]) { merged } commit { sha message } name repo { name owner defaultBranch
channels { name team { id name } } org { team { id chatTeams { id preferences {
name value } } } provider { id apiUrl url providerId providerType private } } }
timestamp }}"
- "subscription DeletedBranchToBranchLifecycle { DeletedBranch { _id pullRequests(first:
1, orderBy: [timestamp_desc]) { merged } commit { sha message } name repo { name
owner defaultBranch channels { name team { id name } } org { team { id chatTeams
{ id preferences { name value } } } provider { id apiUrl url providerId providerType
private } } } timestamp }}"
- subscription PullRequestToBranchLifecycle { PullRequest { branch @required { id
} }}
- 'subscription BotJoinedChannel { UserJoinedChannel { user(isAtomistBot: "true")
@required { isAtomistBot screenName userId } channel { botInvitedSelf channelId
name repos { name owner org { provider { url } } } team { id orgs { owner ownerType
provider { apiUrl providerId } repo { name owner } } } } }}'
- subscription ChannelLinkCreated { ChannelLink { channel { name normalizedName team
{ id } } repo { name owner defaultBranch org { ownerType provider { apiUrl url providerId
providerType private } } } }}
- subscription NotifyMentionedOnIssueComment { Comment { _id gitHubId body by { login
person { chatId { screenName preferences { name value } chatTeam { id } } } } issue
{ title body state timestamp number lastAssignedBy { login } openedBy { login }
repo { name owner org { provider { url providerId providerType private } } channels
{ name channelId } } } }}
- subscription NotifyMentionedOnPullRequestComment { Comment { _id gitHubId body by
{ login person { chatId { screenName preferences { name value } chatTeam { id }
} } } pullRequest { title body state merged timestamp number lastAssignedBy { login
} author { login } repo { name owner org { provider { url providerId providerType
private } } channels { name channelId } } } }}
- subscription CommentToIssueCommentLifecycle { Comment { _id gitHubId timestamp body
by { login name person { chatId { screenName } gitHubId { login } } } issue { title
number state repo { name owner channels { name team { id } } org { provider { apiUrl
url providerId providerType private } team { id chatTeams { id preferences { name
value } } } } labels { name } } openedBy { login } closedBy { login } assignees
{ login } resolvingCommits { sha message author { person { chatId { screenName }
} } } labels { name } } }}
- subscription CommentToPullRequestCommentLifecycle { Comment { _id gitHubId timestamp
body by { login name person { chatId { screenName } gitHubId { login } } } pullRequest
{ title number state merged repo { name owner channels { name team { id } } org
{ provider { apiUrl url providerId providerType private } team { id chatTeams {
id preferences { name value } } } } labels { name } } author { login person { chatId
{ screenName } } } assignees { login person { chatId { screenName } } } labels {
name } } }}
- subscription IssueToIssueCommentLifecycle { Issue { _id title number state repo
{ name owner channels { name team { id } } org { provider { apiUrl url providerId
providerType private } team { id chatTeams { id preferences { name value } } } }
labels { name } } openedBy { login } closedBy { login } assignees { login } resolvingCommits
{ sha message author { person { chatId { screenName } } } } labels { name } comments
{ gitHubId timestamp body by { login name person { chatId { screenName } gitHubId
{ login } } } issue { number state title } } }}
- subscription PullRequestToPullRequestCommentLifecycle { PullRequest { _id title
number state merged repo { name owner channels { name team { id } } org { provider
{ apiUrl url providerId providerType private } team { id chatTeams { id preferences
{ name value } } } } labels { name } } assignees { login person { chatId { screenName
} } } labels { name } comments { gitHubId timestamp body by { login name person
{ chatId { screenName } gitHubId { login } } } pullRequest { number state title
} } }}
- subscription IssueRelationshipOnCommit { Commit { repo { name owner org { provider
{ providerId providerType private } } } sha message }}
- "subscription CommentOnRelatedIssueClosed { Issue(state: closed) { number repo {
owner name } closedBy { login } }}"
- subscription NotifyMentionedOnIssue { Issue { _id name number title body state lastAssignedBy
{ login } openedBy { login person { chatId { screenName preferences { name value
} chatTeam { id } } } } closedBy { login person { chatId { screenName preferences
{ name value } } } } assignees { login person { chatId { screenName preferences
{ name value } chatTeam { id } } } } repo { name owner labels { name } channels
{ name channelId } org { provider { apiUrl gitUrl url providerId providerType }
} } }}
- subscription IssueToIssueLifecycle { Issue { _id name title body state number createdAt
updatedAt closedAt comments { by { login } body } resolvingCommits { sha message
author { login person { chatId { screenName } } } } openedBy { login } closedBy
{ login } assignees { login } repo { name owner labels { name } channels { name
team { id } } org { provider { apiUrl gitUrl url providerId providerType private
} team { id chatTeams { id preferences { name value } } } } } labels { name } timestamp
}}
- subscription RepositoryOnboarded { RepoOnboarded { repo { owner name org { provider
{ url apiUrl gitUrl providerId providerType private } team { id } } defaultBranch
} }}
- subscription NotifyMentionedOnPullRequest { PullRequest { _id name number title
body state merged lastAssignedBy { login } author { login person { chatId { screenName
preferences { name value } chatTeam { id } } } } merger { login person { chatId
{ screenName preferences { name value } } } } assignees { login person { chatId
{ screenName preferences { name value } chatTeam { id } } } } reviewers { login
person { chatId { screenName preferences { name value } chatTeam { id } } } } repo
{ name owner labels { name } channels { name channelId } org { provider { apiUrl
gitUrl url providerId providerType private } } } }}
- "subscription BranchToPullRequestLifecycle { Branch { _id pullRequests(first: 1)
{ _id number name body state merged timestamp title baseBranchName branchName createdAt
mergedAt head { sha message } lastAssignedBy { login name person { gitHubId { login
} chatId { screenName id } } } closedAt branch { name timestamp } author { login
name person { gitHubId { login } chatId { screenName id } } } merger { login name
person { gitHubId { login } chatId { screenName id } } } assignees { login name
person { gitHubId { login } chatId { screenName id } } } reviewers { login name
person { gitHubId { login } chatId { screenName id } } } labels { name } comments
{ body } commits(first: 10, orderBy: [timestamp_desc]) { sha timestamp message email
{ address } tags { name release { name timestamp } } statuses { state description
context targetUrl timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } author { login name
person { gitHubId { login } chatId { screenName id } } } builds(trigger: push, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } } builds(trigger: pull_request,
orderBy: [timestamp_desc]) { name buildUrl buildId status timestamp } reviews {
state by { login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } }}"
- "subscription CheckToPullRequestLifecycle { CheckRun { checkSuite { pullRequests
{ _id number name body state merged timestamp title baseBranchName branchName createdAt
mergedAt head { sha message } lastAssignedBy { login name person { gitHubId { login
} chatId { screenName id } } } closedAt branch { name timestamp } author { login
name person { gitHubId { login } chatId { screenName id } } } merger { login name
person { gitHubId { login } chatId { screenName id } } } assignees { login name
person { gitHubId { login } chatId { screenName id } } } reviewers { login name
person { gitHubId { login } chatId { screenName id } } } labels { name } comments
{ body } commits(first: 10, orderBy: [timestamp_desc]) { sha timestamp message email
{ address } tags { name release { name timestamp } } statuses { state description
context targetUrl timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } author { login name
person { gitHubId { login } chatId { screenName id } } } builds(trigger: push, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } } builds(trigger: pull_request,
orderBy: [timestamp_desc]) { name buildUrl buildId status timestamp } reviews {
state by { login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } } }}"
- "subscription CommentToPullRequestLifecycle { Comment { _id pullRequest { _id number
name body state merged timestamp title baseBranchName branchName createdAt mergedAt
head { sha message } lastAssignedBy { login name person { gitHubId { login } chatId
{ screenName id } } } closedAt branch { name timestamp } author { login name person
{ gitHubId { login } chatId { screenName id } } } merger { login name person { gitHubId
{ login } chatId { screenName id } } } assignees { login name person { gitHubId
{ login } chatId { screenName id } } } reviewers { login name person { gitHubId
{ login } chatId { screenName id } } } labels { name } comments { body } commits(first:
10, orderBy: [timestamp_desc]) { sha timestamp message email { address } tags {
name release { name timestamp } } statuses { state description context targetUrl
timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } author { login name person { gitHubId
{ login } chatId { screenName id } } } builds(trigger: push, orderBy: [timestamp_desc])
{ name buildUrl buildId status timestamp } } builds(trigger: pull_request, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } reviews { state by
{ login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } }}"
- "subscription CommitToPullRequestLifecycle { Commit { _id pullRequests(first: 1)
{ _id number name body state merged timestamp title baseBranchName branchName createdAt
mergedAt head { sha message } lastAssignedBy { login name person { gitHubId { login
} chatId { screenName id } } } closedAt branch { name timestamp } author { login
name person { gitHubId { login } chatId { screenName id } } } merger { login name
person { gitHubId { login } chatId { screenName id } } } assignees { login name
person { gitHubId { login } chatId { screenName id } } } reviewers { login name
person { gitHubId { login } chatId { screenName id } } } labels { name } comments
{ body } commits(first: 10, orderBy: [timestamp_desc]) { sha timestamp message email
{ address } tags { name release { name timestamp } } statuses { state description
context targetUrl timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } author { login name
person { gitHubId { login } chatId { screenName id } } } builds(trigger: push, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } } builds(trigger: pull_request,
orderBy: [timestamp_desc]) { name buildUrl buildId status timestamp } reviews {
state by { login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } }}"
- "subscription DeletedBranchToPullRequestLifecycle { DeletedBranch { id pullRequests(first:
1) { _id number name body state merged timestamp title baseBranchName branchName
createdAt mergedAt head { sha message } lastAssignedBy { login name person { gitHubId
{ login } chatId { screenName id } } } closedAt branch { name timestamp } author
{ login name person { gitHubId { login } chatId { screenName id } } } merger { login
name person { gitHubId { login } chatId { screenName id } } } assignees { login
name person { gitHubId { login } chatId { screenName id } } } reviewers { login
name person { gitHubId { login } chatId { screenName id } } } labels { name } comments
{ body } commits(first: 10, orderBy: [timestamp_desc]) { sha timestamp message email
{ address } tags { name release { name timestamp } } statuses { state description
context targetUrl timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } author { login name
person { gitHubId { login } chatId { screenName id } } } builds(trigger: push, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } } builds(trigger: pull_request,
orderBy: [timestamp_desc]) { name buildUrl buildId status timestamp } reviews {
state by { login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } }}"
- "subscription PullRequestToPullRequestLifecycle { PullRequest { _id number name
body state merged timestamp title baseBranchName branchName createdAt mergedAt head
{ sha message } lastAssignedBy { login name person { gitHubId { login } chatId {
screenName id } } } closedAt branch { name timestamp } author { login name person
{ gitHubId { login } chatId { screenName id } } } merger { login name person { gitHubId
{ login } chatId { screenName id } } } assignees { login name person { gitHubId
{ login } chatId { screenName id } } } reviewers { login name person { gitHubId
{ login } chatId { screenName id } } } labels { name } comments { body } commits(first:
10, orderBy: [timestamp_desc]) { sha timestamp message email { address } tags {
name release { name timestamp } } statuses { state description context targetUrl
timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } author { login name person { gitHubId
{ login } chatId { screenName id } } } builds(trigger: push, orderBy: [timestamp_desc])
{ name buildUrl buildId status timestamp } } builds(trigger: pull_request, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } reviews { state by
{ login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } }}"
- "subscription ReviewToPullRequestLifecycle { Review { _id pullRequest { _id number
name body state merged timestamp title baseBranchName branchName createdAt mergedAt
head { sha message } lastAssignedBy { login name person { gitHubId { login } chatId
{ screenName id } } } closedAt branch { name timestamp } author { login name person
{ gitHubId { login } chatId { screenName id } } } merger { login name person { gitHubId
{ login } chatId { screenName id } } } assignees { login name person { gitHubId
{ login } chatId { screenName id } } } reviewers { login name person { gitHubId
{ login } chatId { screenName id } } } labels { name } comments { body } commits(first:
10, orderBy: [timestamp_desc]) { sha timestamp message email { address } tags {
name release { name timestamp } } statuses { state description context targetUrl
timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } author { login name person { gitHubId
{ login } chatId { screenName id } } } builds(trigger: push, orderBy: [timestamp_desc])
{ name buildUrl buildId status timestamp } } builds(trigger: pull_request, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } reviews { state by
{ login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } }}"
- "subscription StatusToPullRequestLifecycle { Status { _id commit { pullRequests(first:
1) { _id number name body state merged timestamp title baseBranchName branchName
createdAt mergedAt head { sha message } lastAssignedBy { login name person { gitHubId
{ login } chatId { screenName id } } } closedAt branch { name timestamp } author
{ login name person { gitHubId { login } chatId { screenName id } } } merger { login
name person { gitHubId { login } chatId { screenName id } } } assignees { login
name person { gitHubId { login } chatId { screenName id } } } reviewers { login
name person { gitHubId { login } chatId { screenName id } } } labels { name } comments
{ body } commits(first: 10, orderBy: [timestamp_desc]) { sha timestamp message email
{ address } tags { name release { name timestamp } } statuses { state description
context targetUrl timestamp } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } author { login name
person { gitHubId { login } chatId { screenName id } } } builds(trigger: push, orderBy:
[timestamp_desc]) { name buildUrl buildId status timestamp } } builds(trigger: pull_request,
orderBy: [timestamp_desc]) { name buildUrl buildId status timestamp } reviews {
state by { login } body } repo { id name owner channels { name team { id } } allowRebaseMerge
allowSquashMerge allowMergeCommit defaultBranch org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } } } } }}"
- subscription NotifyReviewerOnPush { Push { branch repo { name owner org { owner
provider { apiUrl url providerId providerType private } } } commits { author { login
} sha pullRequests { author { login } name number title body state merged reviewers
{ login } reviews { state by { login person { chatId { screenName preferences {
name value } chatTeam { id } } } } } } } }}
- subscription ApplicationToPushLifecycle { Application { _id commits { pushes { id
_id builds { buildId buildUrl name provider status commit { sha } timestamp workflow
{ id name provider config builds { jobId jobName finishedAt startedAt status id
buildUrl } } } before { sha } after { sha message email { address } author { login
avatar person { chatId { screenName } } } committer { login name person { chatId
{ screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } statuses { context description targetUrl
state timestamp } tags { name release { name timestamp } builds { buildId buildUrl
name provider status timestamp } timestamp } images { _id image imageName pods {
_id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp } timestamp }}
- subscription BuildToPushLifecycle { Build { _id buildId buildUrl name provider status
push { id _id builds { buildId buildUrl name provider status commit { sha } timestamp
workflow { id name provider config builds { jobId jobName finishedAt startedAt status
id buildUrl } } } before { sha } after { sha message email { address } author {
login avatar person { chatId { screenName } } } committer { login name person {
chatId { screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status
detailsUrl startedAt completedAt htmlUrl outputTitle } } statuses { context description
targetUrl state timestamp } tags { name release { name timestamp } builds { buildId
buildUrl name provider status timestamp } timestamp } images { _id image imageName
pods { _id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp }}
- subscription CheckToPushLifecycle { CheckRun { checkSuite { commit { pushes { id
_id builds { buildId buildUrl name provider status commit { sha } timestamp workflow
{ id name provider config builds { jobId jobName finishedAt startedAt status id
buildUrl } } } before { sha } after { sha message email { address } author { login
avatar person { chatId { screenName } } } committer { login name person { chatId
{ screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } statuses { context description targetUrl
state timestamp } tags { name release { name timestamp } builds { buildId buildUrl
name provider status timestamp } timestamp } images { _id image imageName pods {
_id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } } } }}
- subscription IssueToPushLifecycle { Issue { _id resolvingCommits { pushes { id _id
builds { buildId buildUrl name provider status commit { sha } timestamp workflow
{ id name provider config builds { jobId jobName finishedAt startedAt status id
buildUrl } } } before { sha } after { sha message email { address } author { login
avatar person { chatId { screenName } } } committer { login name person { chatId
{ screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } statuses { context description targetUrl
state timestamp } tags { name release { name timestamp } builds { buildId buildUrl
name provider status timestamp } timestamp } images { _id image imageName pods {
_id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp } timestamp }}
- subscription K8PodToPushLifecycle { K8Pod { _id name state images { commits { pushes
{ id _id builds { buildId buildUrl name provider status commit { sha } timestamp
workflow { id name provider config builds { jobId jobName finishedAt startedAt status
id buildUrl } } } before { sha } after { sha message email { address } author {
login avatar person { chatId { screenName } } } committer { login name person {
chatId { screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status
detailsUrl startedAt completedAt htmlUrl outputTitle } } statuses { context description
targetUrl state timestamp } tags { name release { name timestamp } builds { buildId
buildUrl name provider status timestamp } timestamp } images { _id image imageName
pods { _id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp } timestamp } timestamp }}
- subscription PolicyComplianceToPushLifecycle { PolicyCompliance { push { id _id
builds { buildId buildUrl name provider status commit { sha } timestamp workflow
{ id name provider config builds { jobId jobName finishedAt startedAt status id
buildUrl } } } before { sha } after { sha message email { address } author { login
avatar person { chatId { screenName } } } committer { login name person { chatId
{ screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl
startedAt completedAt htmlUrl outputTitle } } statuses { context description targetUrl
state timestamp } tags { name release { name timestamp } builds { buildId buildUrl
name provider status timestamp } timestamp } images { _id image imageName pods {
_id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } }}
- subscription PushToPushLifecycle { Push { id _id builds { buildId buildUrl name
provider status commit { sha } timestamp workflow { id name provider config builds
{ jobId jobName finishedAt startedAt status id buildUrl } } } before { sha } after
{ sha message email { address } author { login avatar person { chatId { screenName
} } } committer { login name person { chatId { screenName } } } checkSuites { appSlug
checkRuns { checkRunId name conclusion status detailsUrl startedAt completedAt htmlUrl outputTitle
} } statuses { context description targetUrl state timestamp } tags { name release
{ name timestamp } builds { buildId buildUrl name provider status timestamp } timestamp
} images { _id image imageName pods { _id name phase environment namespace timestamp
baseName resourceVersion containers { _id name imageName timestamp environment state
ready restartCount statusJSON resourceVersion } } timestamp } } repo { id owner
name channels { name team { id } } labels { name } org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } defaultBranch } commits { sha message email { address } resolves { number
name title state openedBy { login } } apps { state host domain data } tags { name
release { name } containers { pods { host state name } image } } author { login
avatar person { chatId { screenName } } } committer { login name person { chatId
{ screenName } } } timestamp } timestamp branch goals { id goalSet registration
goalSetId environment name uniqueName sha branch state phase fulfillment { method
name registration } description url externalUrl externalUrls { label url } externalKey
retryFeasible ts preConditions { environment name } provenance { registration version
name correlationId ts } repo { owner name } approval { channelId correlationId name
registration ts userId version } approvalRequired preApproval { channelId correlationId
name registration ts userId version } descriptions { canceled completed failed inProcess
planned requested stopped skipped waitingForApproval waitingForPreApproval } parameters
preApprovalRequired data } goalSets { goalSet goalSetId goals { uniqueName } ts
provenance { name registration version } tags { name value } } goalsDisplayState
{ state format } compliance { id owner state targets { type name sha data displayName
displayValue displayType } differences { type name sha data displayName displayValue
displayType } aspects { type displayType manageable } } }}
- subscription ReleaseToPushLifecycle { Release { _id name tag { name commit { pushes
{ id _id builds { buildId buildUrl name provider status commit { sha } timestamp
workflow { id name provider config builds { jobId jobName finishedAt startedAt status
id buildUrl } } } before { sha } after { sha message email { address } author {
login avatar person { chatId { screenName } } } committer { login name person {
chatId { screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status
detailsUrl startedAt completedAt htmlUrl outputTitle } } statuses { context description
targetUrl state timestamp } tags { name release { name timestamp } builds { buildId
buildUrl name provider status timestamp } timestamp } images { _id image imageName
pods { _id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp } } timestamp }}
- subscription SdmGoalDisplayToPushLifecycle { SdmGoalDisplay { sha branch repo {
name owner providerId } push { id _id builds { buildId buildUrl name provider status
commit { sha } timestamp workflow { id name provider config builds { jobId jobName
finishedAt startedAt status id buildUrl } } } before { sha } after { sha message
email { address } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } checkSuites { appSlug checkRuns
{ checkRunId name conclusion status detailsUrl startedAt completedAt htmlUrl outputTitle }
} statuses { context description targetUrl state timestamp } tags { name release
{ name timestamp } builds { buildId buildUrl name provider status timestamp } timestamp
} images { _id image imageName pods { _id name phase environment namespace timestamp
baseName resourceVersion containers { _id name imageName timestamp environment state
ready restartCount statusJSON resourceVersion } } timestamp } } repo { id owner
name channels { name team { id } } labels { name } org { provider { url apiUrl gitUrl
providerId providerType private } team { id chatTeams { id preferences { name value
} } } } defaultBranch } commits { sha message email { address } resolves { number
name title state openedBy { login } } apps { state host domain data } tags { name
release { name } containers { pods { host state name } image } } author { login
avatar person { chatId { screenName } } } committer { login name person { chatId
{ screenName } } } timestamp } timestamp branch goals { id goalSet registration
goalSetId environment name uniqueName sha branch state phase fulfillment { method
name registration } description url externalUrl externalUrls { label url } externalKey
retryFeasible ts preConditions { environment name } provenance { registration version
name correlationId ts } repo { owner name } approval { channelId correlationId name
registration ts userId version } approvalRequired preApproval { channelId correlationId
name registration ts userId version } descriptions { canceled completed failed inProcess
planned requested stopped skipped waitingForApproval waitingForPreApproval } parameters
preApprovalRequired data } goalSets { goalSet goalSetId goals { uniqueName } ts
provenance { name registration version } tags { name value } } goalsDisplayState
{ state format } compliance { id owner state targets { type name sha data displayName
displayValue displayType } differences { type name sha data displayName displayValue
displayType } aspects { type displayType manageable } } } }}
- subscription SdmGoalToPushLifecycle { SdmGoal { sha branch repo { name owner providerId
} push { id _id builds { buildId buildUrl name provider status commit { sha } timestamp
workflow { id name provider config builds { jobId jobName finishedAt startedAt status
id buildUrl } } } before { sha } after { sha message email { address } author {
login avatar person { chatId { screenName } } } committer { login name person {
chatId { screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion status
detailsUrl startedAt completedAt htmlUrl outputTitle } } statuses { context description
targetUrl state timestamp } tags { name release { name timestamp } builds { buildId
buildUrl name provider status timestamp } timestamp } images { _id image imageName
pods { _id name phase environment namespace timestamp baseName resourceVersion containers
{ _id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } }}
- subscription StatusToPushLifecycle { Status { _id context description targetUrl
state commit { pushes { id _id builds { buildId buildUrl name provider status commit
{ sha } timestamp workflow { id name provider config builds { jobId jobName finishedAt
startedAt status id buildUrl } } } before { sha } after { sha message email { address
} author { login avatar person { chatId { screenName } } } committer { login name
person { chatId { screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } statuses { context
description targetUrl state timestamp } tags { name release { name timestamp } builds
{ buildId buildUrl name provider status timestamp } timestamp } images { _id image
imageName pods { _id name phase environment namespace timestamp baseName resourceVersion
containers { _id name imageName timestamp environment state ready restartCount statusJSON
resourceVersion } } timestamp } } repo { id owner name channels { name team { id
} } labels { name } org { provider { url apiUrl gitUrl providerId providerType private
} team { id chatTeams { id preferences { name value } } } } defaultBranch } commits
{ sha message email { address } resolves { number name title state openedBy { login
} } apps { state host domain data } tags { name release { name } containers { pods
{ host state name } image } } author { login avatar person { chatId { screenName
} } } committer { login name person { chatId { screenName } } } timestamp } timestamp
branch goals { id goalSet registration goalSetId environment name uniqueName sha
branch state phase fulfillment { method name registration } description url externalUrl
externalUrls { label url } externalKey retryFeasible ts preConditions { environment
name } provenance { registration version name correlationId ts } repo { owner name
} approval { channelId correlationId name registration ts userId version } approvalRequired
preApproval { channelId correlationId name registration ts userId version } descriptions
{ canceled completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp } }}
- subscription TagToPushLifecycle { Tag { _id name commit { pushes { id _id builds
{ buildId buildUrl name provider status commit { sha } timestamp workflow { id name
provider config builds { jobId jobName finishedAt startedAt status id buildUrl }
} } before { sha } after { sha message email { address } author { login avatar person
{ chatId { screenName } } } committer { login name person { chatId { screenName
} } } checkSuites { appSlug checkRuns { checkRunId name conclusion status detailsUrl startedAt
completedAt htmlUrl outputTitle } } statuses { context description targetUrl state
timestamp } tags { name release { name timestamp } builds { buildId buildUrl name
provider status timestamp } timestamp } images { _id image imageName pods { _id
name phase environment namespace timestamp baseName resourceVersion containers {
_id name imageName timestamp environment state ready restartCount statusJSON resourceVersion
} } timestamp } } repo { id owner name channels { name team { id } } labels { name
} org { provider { url apiUrl gitUrl providerId providerType private } team { id
chatTeams { id preferences { name value } } } } defaultBranch } commits { sha message
email { address } resolves { number name title state openedBy { login } } apps {
state host domain data } tags { name release { name } containers { pods { host state
name } image } } author { login avatar person { chatId { screenName } } } committer
{ login name person { chatId { screenName } } } timestamp } timestamp branch goals
{ id goalSet registration goalSetId environment name uniqueName sha branch state
phase fulfillment { method name registration } description url externalUrl externalUrls
{ label url } externalKey retryFeasible ts preConditions { environment name } provenance
{ registration version name correlationId ts } repo { owner name } approval { channelId
correlationId name registration ts userId version } approvalRequired preApproval
{ channelId correlationId name registration ts userId version } descriptions { canceled
completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } timestamp } timestamp }}
- subscription PushToSimplePushLifecycle { Push { id _id builds { buildId buildUrl
name provider status commit { sha } timestamp workflow { id name provider config
builds { jobId jobName finishedAt startedAt status id buildUrl } } } before { sha
} after { sha message email { address } author { login avatar person { chatId {
screenName } } } committer { login name person { chatId { screenName } } } checkSuites
{ appSlug checkRuns { checkRunId name conclusion status detailsUrl startedAt completedAt htmlUrl
outputTitle } } statuses { context description targetUrl state timestamp } tags
{ name release { name timestamp } builds { buildId buildUrl name provider status
timestamp } timestamp } images { _id image imageName pods { _id name phase environment
namespace timestamp baseName resourceVersion containers { _id name imageName timestamp
environment state ready restartCount statusJSON resourceVersion } } timestamp }
} repo { id owner name channels { name team { id } } labels { name } org { provider
{ url apiUrl gitUrl providerId providerType private } team { id chatTeams { id preferences
{ name value } } } } defaultBranch } commits { sha message email { address } resolves
{ number name title state openedBy { login } } apps { state host domain data } tags
{ name release { name } containers { pods { host state name } image } } author {
login avatar person { chatId { screenName } } } committer { login name person {
chatId { screenName } } } timestamp } timestamp branch goals { id goalSet registration
goalSetId environment name uniqueName sha branch state phase fulfillment { method
name registration } description url externalUrl externalUrls { label url } externalKey
retryFeasible ts preConditions { environment name } provenance { registration version
name correlationId ts } repo { owner name } approval { channelId correlationId name
registration ts userId version } approvalRequired preApproval { channelId correlationId
name registration ts userId version } descriptions { canceled completed failed inProcess
planned requested stopped skipped waitingForApproval waitingForPreApproval } parameters
preApprovalRequired data } goalSets { goalSet goalSetId goals { uniqueName } ts
provenance { name registration version } tags { name value } } goalsDisplayState
{ state format } compliance { id owner state targets { type name sha data displayName
displayValue displayType } differences { type name sha data displayName displayValue
displayType } aspects { type displayType manageable } } }}
- subscription SdmGoalToSimplePushLifecycle { SdmGoal { sha branch repo { name owner
providerId } push { id _id builds { buildId buildUrl name provider status commit
{ sha } timestamp workflow { id name provider config builds { jobId jobName finishedAt
startedAt status id buildUrl } } } before { sha } after { sha message email { address
} author { login avatar person { chatId { screenName } } } committer { login name
person { chatId { screenName } } } checkSuites { appSlug checkRuns { checkRunId name conclusion
status detailsUrl startedAt completedAt htmlUrl outputTitle } } statuses { context
description targetUrl state timestamp } tags { name release { name timestamp } builds
{ buildId buildUrl name provider status timestamp } timestamp } images { _id image
imageName pods { _id name phase environment namespace timestamp baseName resourceVersion
containers { _id name imageName timestamp environment state ready restartCount statusJSON
resourceVersion } } timestamp } } repo { id owner name channels { name team { id
} } labels { name } org { provider { url apiUrl gitUrl providerId providerType private
} team { id chatTeams { id preferences { name value } } } } defaultBranch } commits
{ sha message email { address } resolves { number name title state openedBy { login
} } apps { state host domain data } tags { name release { name } containers { pods
{ host state name } image } } author { login avatar person { chatId { screenName
} } } committer { login name person { chatId { screenName } } } timestamp } timestamp
branch goals { id goalSet registration goalSetId environment name uniqueName sha
branch state phase fulfillment { method name registration } description url externalUrl
externalUrls { label url } externalKey retryFeasible ts preConditions { environment
name } provenance { registration version name correlationId ts } repo { owner name
} approval { channelId correlationId name registration ts userId version } approvalRequired
preApproval { channelId correlationId name registration ts userId version } descriptions
{ canceled completed failed inProcess planned requested stopped skipped waitingForApproval
waitingForPreApproval } parameters preApprovalRequired data } goalSets { goalSet
goalSetId goals { uniqueName } ts provenance { name registration version } tags
{ name value } } goalsDisplayState { state format } compliance { id owner state
targets { type name sha data displayName displayValue displayType } differences
{ type name sha data displayName displayValue displayType } aspects { type displayType
manageable } } } }}
- subscription NotifyAuthorOnReview { Review { _id body state htmlUrl by { login }
pullRequest { head { sha } author { login person { chatId { screenName preferences
{ name value } chatTeam { id } } } } number title state merged labels { name } repo
{ name owner org { provider { url providerId providerType private } } channels {
name channelId } } } }}
- subscription PullRequestToReviewLifecycle { PullRequest { _id reviews { _id body
state htmlUrl by { login } pullRequest { head { sha } number title state merged
reviewers { login } labels { name } repo { name owner org { provider { url providerId
providerType private } team { id chatTeams { id preferences { name value } } } }
channels { name team { id } } } } } }}
- subscription ReviewToReviewLifecycle { Review { _id body state htmlUrl by { login
} pullRequest { head { sha } number title state merged reviewers { login } labels
{ name } repo { name owner org { provider { url apiUrl providerId providerType private
} team { id chatTeams { id preferences { name value } } } } channels { name team
{ id } } } } }}
- subscription UpdateOnJobTask { AtmJobTask { job { id data name description owner
state createdAt updatedAt completedAt jobCount completedCount } }}