-
Notifications
You must be signed in to change notification settings - Fork 58
Expand file tree
/
Copy pathworkflow-v1.0.json
More file actions
2636 lines (2636 loc) · 91.2 KB
/
workflow-v1.0.json
File metadata and controls
2636 lines (2636 loc) · 91.2 KB
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
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"version": "workflow-v1.0",
"definitions": {
"workflow-root": {
"description": "A workflow file.",
"mapping": {
"properties": {
"on": "on",
"name": "workflow-name",
"description": "workflow-description",
"run-name": "run-name",
"defaults": "workflow-defaults",
"env": "workflow-env",
"permissions": "permissions",
"concurrency": "workflow-concurrency",
"jobs": {
"type": "jobs",
"required": true
}
}
}
},
"workflow-root-strict": {
"description": "Workflow file with strict validation",
"mapping": {
"properties": {
"on": {
"type": "on-strict",
"required": true
},
"name": "workflow-name",
"description": "workflow-description",
"run-name": "run-name",
"defaults": "workflow-defaults",
"env": "workflow-env",
"permissions": "permissions",
"concurrency": "workflow-concurrency",
"jobs": {
"type": "jobs",
"required": true
}
}
}
},
"workflow-name": {
"description": "The name of the workflow that GitHub displays on your repository's 'Actions' tab.\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#name)",
"string": {}
},
"workflow-description": {
"description": "A description for your workflow or reusable workflow",
"string": {}
},
"run-name": {
"context": [
"github",
"inputs",
"vars"
],
"string": {},
"description": "The name for workflow runs generated from the workflow. GitHub displays the workflow run name in the list of workflow runs on your repository's 'Actions' tab.\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#run-name)"
},
"on": {
"description": "The GitHub event that triggers the workflow. Events can be a single string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. View a full list of [events that trigger workflows](https://docs.github.com/actions/using-workflows/events-that-trigger-workflows).\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#on)",
"one-of": [
"string",
"sequence",
"on-mapping"
]
},
"on-mapping": {
"mapping": {
"properties": {
"workflow_call": "workflow-call"
},
"loose-key-type": "non-empty-string",
"loose-value-type": "any"
}
},
"on-strict": {
"description": "The GitHub event that triggers the workflow. Events can be a single string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. View a full list of [events that trigger workflows](https://docs.github.com/actions/using-workflows/events-that-trigger-workflows).\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#on)",
"one-of": [
"on-string-strict",
"on-sequence-strict",
"on-mapping-strict"
]
},
"on-mapping-strict": {
"description": "The GitHub event that triggers the workflow. Events can be a single string, array of events, array of event types, or an event configuration map that schedules a workflow or restricts the execution of a workflow to specific files, tags, or branch changes. View a full list of [events that trigger workflows](https://docs.github.com/actions/using-workflows/events-that-trigger-workflows).\n\n[Documentation](https://docs.github.com/actions/using-workflows/workflow-syntax-for-github-actions#on)",
"mapping": {
"properties": {
"branch_protection_rule": "branch-protection-rule",
"check_run": "check-run",
"check_suite": "check-suite",
"create": "create",
"delete": "delete",
"deployment": "deployment",
"deployment_status": "deployment-status",
"discussion": "discussion",
"discussion_comment": "discussion-comment",
"fork": "fork",
"gollum": "gollum",
"image_version": "image-version",
"issue_comment": "issue-comment",
"issues": "issues",
"label": "label",
"merge_group": "merge-group",
"milestone": "milestone",
"page_build": "page-build",
"project": "project",
"project_card": "project-card",
"project_column": "project-column",
"public": "public",
"pull_request": "pull-request",
"pull_request_comment": "pull-request-comment",
"pull_request_review": "pull-request-review",
"pull_request_review_comment": "pull-request-review-comment",
"pull_request_target": "pull-request-target",
"push": "push",
"registry_package": "registry-package",
"release": "release",
"repository_dispatch": "repository-dispatch",
"schedule": "schedule",
"status": "status",
"watch": "watch",
"workflow_call": "workflow-call",
"workflow_dispatch": "workflow-dispatch",
"workflow_run": "workflow-run"
}
}
},
"on-string-strict": {
"one-of": [
"branch-protection-rule-string",
"check-run-string",
"check-suite-string",
"create-string",
"delete-string",
"deployment-string",
"deployment-status-string",
"discussion-string",
"discussion-comment-string",
"fork-string",
"gollum-string",
"image-version-string",
"issue-comment-string",
"issues-string",
"label-string",
"merge-group-string",
"milestone-string",
"page-build-string",
"project-string",
"project-card-string",
"project-column-string",
"public-string",
"pull-request-string",
"pull-request-comment-string",
"pull-request-review-string",
"pull-request-review-comment-string",
"pull-request-target-string",
"push-string",
"registry-package-string",
"release-string",
"repository-dispatch-string",
"schedule-string",
"status-string",
"watch-string",
"workflow-call-string",
"workflow-dispatch-string",
"workflow-run-string"
]
},
"on-sequence-strict": {
"sequence": {
"item-type": "on-string-strict"
}
},
"branch-protection-rule-string": {
"description": "Runs your workflow when branch protection rules in the workflow repository are changed.",
"string": {
"constant": "branch_protection_rule"
}
},
"branch-protection-rule": {
"description": "Runs your workflow when branch protection rules in the workflow repository are changed.",
"one-of": [
"null",
"branch-protection-rule-mapping"
]
},
"branch-protection-rule-mapping": {
"mapping": {
"properties": {
"types": "branch-protection-rule-activity"
}
}
},
"branch-protection-rule-activity": {
"description": "The types of branch protection rule activity that trigger the workflow. Supported activity types: `created`, `edited`, `deleted`.",
"one-of": [
"branch-protection-rule-activity-type",
"branch-protection-rule-activity-types"
]
},
"branch-protection-rule-activity-types": {
"sequence": {
"item-type": "branch-protection-rule-activity-type"
}
},
"branch-protection-rule-activity-type": {
"allowed-values": [
"created",
"edited",
"deleted"
]
},
"check-run-string": {
"description": "Runs your workflow when activity related to a check run occurs. A check run is an individual test that is part of a check suite.",
"string": {
"constant": "check_run"
}
},
"check-run": {
"description": "Runs your workflow when activity related to a check run occurs. A check run is an individual test that is part of a check suite.",
"one-of": [
"null",
"check-run-mapping"
]
},
"check-run-mapping": {
"mapping": {
"properties": {
"types": "check-run-activity"
}
}
},
"check-run-activity": {
"description": "The types of check run activity that trigger the workflow. Supported activity types: `created`, `rerequested`, `completed`, `requested_action`.",
"one-of": [
"check-run-activity-type",
"check-run-activity-types"
]
},
"check-run-activity-types": {
"sequence": {
"item-type": "check-run-activity-type"
}
},
"check-run-activity-type": {
"allowed-values": [
"completed",
"created",
"rerequested",
"requested_action"
]
},
"check-suite-string": {
"description": "Runs your workflow when check suite activity occurs. A check suite is a collection of the check runs created for a specific commit. Check suites summarize the status and conclusion of the check runs that are in the suite.",
"string": {
"constant": "check_suite"
}
},
"check-suite": {
"description": "Runs your workflow when check suite activity occurs. A check suite is a collection of the check runs created for a specific commit. Check suites summarize the status and conclusion of the check runs that are in the suite.",
"one-of": [
"null",
"check-suite-mapping"
]
},
"check-suite-mapping": {
"mapping": {
"properties": {
"types": "check-suite-activity"
}
}
},
"check-suite-activity": {
"description": "The types of check suite activity that trigger the workflow. Supported activity types: `completed`.",
"one-of": [
"check-suite-activity-type",
"check-suite-activity-types"
]
},
"check-suite-activity-types": {
"sequence": {
"item-type": "check-suite-activity-type"
}
},
"check-suite-activity-type": {
"allowed-values": [
"completed"
]
},
"create-string": {
"description": "Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow's repository.",
"string": {
"constant": "create"
}
},
"create": {
"description": "Runs your workflow when someone creates a Git reference (Git branch or tag) in the workflow's repository.",
"null": {}
},
"delete-string": {
"description": "Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow's repository.",
"string": {
"constant": "delete"
}
},
"delete": {
"description": "Runs your workflow when someone deletes a Git reference (Git branch or tag) in the workflow's repository.",
"null": {}
},
"deployment-string": {
"description": "Runs your workflow when someone creates a deployment in the workflow's repository. Deployments created with a commit SHA may not have a Git ref.",
"string": {
"constant": "deployment"
}
},
"deployment": {
"description": "Runs your workflow when someone creates a deployment in the workflow's repository. Deployments created with a commit SHA may not have a Git ref.",
"null": {}
},
"deployment-status-string": {
"description": "Runs your workflow when a third party provides a deployment status. Deployments created with a commit SHA may not have a Git ref.",
"string": {
"constant": "deployment_status"
}
},
"deployment-status": {
"description": "Runs your workflow when a third party provides a deployment status. Deployments created with a commit SHA may not have a Git ref.",
"null": {}
},
"discussion-string": {
"description": "Runs your workflow when a discussion in the workflow's repository is created or modified. For activity related to comments on a discussion, use the `discussion_comment` event.",
"string": {
"constant": "discussion"
}
},
"discussion": {
"description": "Runs your workflow when a discussion in the workflow's repository is created or modified. For activity related to comments on a discussion, use the `discussion_comment` event.",
"one-of": [
"null",
"discussion-mapping"
]
},
"discussion-mapping": {
"mapping": {
"properties": {
"types": "discussion-activity"
}
}
},
"discussion-activity": {
"description": "The types of discussion activity that trigger the workflow. Supported activity types: `created`, `edited`, `deleted`, `transferred`, `pinned`, `unpinned`, `labeled`, `unlabeled`, `locked`, `unlocked`, `category_changed`, `answered`, `unanswered`.",
"one-of": [
"discussion-activity-type",
"discussion-activity-types"
]
},
"discussion-activity-types": {
"sequence": {
"item-type": "discussion-activity-type"
}
},
"discussion-activity-type": {
"allowed-values": [
"created",
"edited",
"deleted",
"transferred",
"pinned",
"unpinned",
"labeled",
"unlabeled",
"locked",
"unlocked",
"category_changed",
"answered",
"unanswered"
]
},
"discussion-comment-string": {
"description": "Runs your workflow when a comment on a discussion in the workflow's repository is created or modified. For activity related to a discussion as opposed to comments on the discussion, use the `discussion` event.",
"string": {
"constant": "discussion_comment"
}
},
"discussion-comment": {
"description": "Runs your workflow when a comment on a discussion in the workflow's repository is created or modified. For activity related to a discussion as opposed to comments on the discussion, use the `discussion` event.",
"one-of": [
"null",
"discussion-comment-mapping"
]
},
"discussion-comment-mapping": {
"mapping": {
"properties": {
"types": "discussion-comment-activity"
}
}
},
"discussion-comment-activity": {
"description": "The types of discussion comment activity that trigger the workflow. Supported activity types: `created`, `edited`, `deleted`.",
"one-of": [
"discussion-comment-activity-type",
"discussion-comment-activity-types"
]
},
"discussion-comment-activity-types": {
"sequence": {
"item-type": "discussion-comment-activity-type"
}
},
"discussion-comment-activity-type": {
"allowed-values": [
"created",
"edited",
"deleted"
]
},
"fork-string": {
"description": "Runs your workflow when someone forks a repository.",
"string": {
"constant": "fork"
}
},
"fork": {
"description": "Runs your workflow when someone forks a repository.",
"null": {}
},
"gollum-string": {
"description": "Runs your workflow when someone creates or updates a Wiki page.",
"string": {
"constant": "gollum"
}
},
"gollum": {
"description": "Runs your workflow when someone creates or updates a Wiki page.",
"null": {}
},
"image-version-string": {
"description": "Runs your workflow when an image version is created or changes state.",
"string": {
"constant": "image_version"
}
},
"image-version": {
"description": "Runs your workflow when an image version is created or changes state.",
"one-of": [
"null",
"image-version-mapping"
]
},
"image-version-mapping": {
"mapping": {
"properties": {
"types": "image-version-activity",
"names": "event-names",
"versions": "event-versions"
}
}
},
"image-version-activity": {
"description": "The types of image version activity that trigger the workflow. Supported activity types: `created`, `ready`, `deleted`.",
"one-of": [
"image-version-activity-type",
"image-version-activity-types"
]
},
"image-version-activity-types": {
"sequence": {
"item-type": "image-version-activity-type"
}
},
"image-version-activity-type": {
"allowed-values": [
"created",
"ready",
"deleted"
]
},
"issue-comment-string": {
"description": "Runs your workflow when an issue or pull request comment is created, edited, or deleted.",
"string": {
"constant": "issue_comment"
}
},
"issue-comment": {
"description": "Runs your workflow when an issue or pull request comment is created, edited, or deleted.",
"one-of": [
"null",
"issue-comment-mapping"
]
},
"issue-comment-mapping": {
"mapping": {
"properties": {
"types": "issue-comment-activity"
}
}
},
"issue-comment-activity": {
"description": "The types of issue comment activity that trigger the workflow. Supported activity types: `created`, `edited`, `deleted`.",
"one-of": [
"issue-comment-activity-type",
"issue-comment-activity-types"
]
},
"issue-comment-activity-types": {
"sequence": {
"item-type": "issue-comment-activity-type"
}
},
"issue-comment-activity-type": {
"allowed-values": [
"created",
"edited",
"deleted"
]
},
"issues-string": {
"description": "Runs your workflow when an issue in the workflow's repository is created or modified. For activity related to comments in an issue, use the `issue_comment` event.",
"string": {
"constant": "issues"
}
},
"issues": {
"description": "Runs your workflow when an issue in the workflow's repository is created or modified. For activity related to comments in an issue, use the `issue_comment` event.",
"one-of": [
"null",
"issues-mapping"
]
},
"issues-mapping": {
"mapping": {
"properties": {
"types": "issues-activity"
}
}
},
"issues-activity": {
"description": "The types of issue activity that trigger the workflow. Supported activity types: `opened`, `edited`, `deleted`, `transferred`, `pinned`, `unpinned`, `closed`, `reopened`, `assigned`, `unassigned`, `labeled`, `unlabeled`, `locked`, `unlocked`, `milestoned`, `demilestoned`.",
"one-of": [
"issues-activity-type",
"issues-activity-types"
]
},
"issues-activity-types": {
"sequence": {
"item-type": "issues-activity-type"
}
},
"issues-activity-type": {
"allowed-values": [
"opened",
"edited",
"deleted",
"transferred",
"pinned",
"unpinned",
"closed",
"reopened",
"assigned",
"unassigned",
"labeled",
"unlabeled",
"locked",
"unlocked",
"milestoned",
"demilestoned"
]
},
"label-string": {
"description": "Runs your workflow when a label in your workflow's repository is created or modified.",
"string": {
"constant": "label"
}
},
"label": {
"description": "Runs your workflow when a label in your workflow's repository is created or modified.",
"one-of": [
"null",
"label-mapping"
]
},
"label-mapping": {
"mapping": {
"properties": {
"types": "label-activity"
}
}
},
"label-activity": {
"description": "The types of label activity that trigger the workflow. Supported activity types: `created`, `edited`, `deleted`.",
"one-of": [
"label-activity-type",
"label-activity-types"
]
},
"label-activity-types": {
"sequence": {
"item-type": "label-activity-type"
}
},
"label-activity-type": {
"allowed-values": [
"created",
"edited",
"deleted"
]
},
"merge-group-string": {
"description": "Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group.",
"string": {
"constant": "merge_group"
}
},
"merge-group": {
"description": "Runs your workflow when a pull request is added to a merge queue, which adds the pull request to a merge group.",
"one-of": [
"null",
"merge-group-mapping"
]
},
"merge-group-mapping": {
"mapping": {
"properties": {
"types": "merge-group-activity",
"branches": "event-branches",
"branches-ignore": "event-branches-ignore"
}
}
},
"merge-group-activity": {
"description": "The types of merge group activity that trigger the workflow. Supported activity types: `checks_requested`.",
"one-of": [
"merge-group-activity-type",
"merge-group-activity-types"
]
},
"merge-group-activity-types": {
"sequence": {
"item-type": "merge-group-activity-type"
}
},
"merge-group-activity-type": {
"allowed-values": [
"checks_requested"
]
},
"milestone-string": {
"description": "Runs your workflow when a milestone in the workflow's repository is created or modified.",
"string": {
"constant": "milestone"
}
},
"milestone": {
"description": "Runs your workflow when a milestone in the workflow's repository is created or modified.",
"one-of": [
"null",
"milestone-mapping"
]
},
"milestone-mapping": {
"mapping": {
"properties": {
"types": "milestone-activity"
}
}
},
"milestone-activity": {
"description": "The types of milestone activity that trigger the workflow. Supported activity types: `created`, `closed`, `opened`, `edited`, `deleted`.",
"one-of": [
"milestone-activity-type",
"milestone-activity-types"
]
},
"milestone-activity-types": {
"sequence": {
"item-type": "milestone-activity-type"
}
},
"milestone-activity-type": {
"allowed-values": [
"created",
"closed",
"opened",
"edited",
"deleted"
]
},
"page-build-string": {
"description": "Runs your workflow when someone pushes to a branch that is the publishing source for GitHub Pages, if GitHub Pages is enabled for the repository.",
"string": {
"constant": "page_build"
}
},
"page-build": {
"description": "Runs your workflow when someone pushes to a branch that is the publishing source for GitHub Pages, if GitHub Pages is enabled for the repository.",
"null": {}
},
"project-string": {
"description": "Runs your workflow when a project board is created or modified. For activity related to cards or columns in a project board, use the `project_card` or `project_column` events instead.",
"string": {
"constant": "project"
}
},
"project": {
"description": "Runs your workflow when a project board is created or modified. For activity related to cards or columns in a project board, use the `project_card` or `project_column` events instead.",
"one-of": [
"null",
"project-mapping"
]
},
"project-mapping": {
"mapping": {
"properties": {
"types": "project-activity"
}
}
},
"project-activity": {
"description": "The types of project activity that trigger the workflow. Supported activity types: `created`, `closed`, `reopened`, `edited`, `deleted`.",
"one-of": [
"project-activity-type",
"project-activity-types"
]
},
"project-activity-types": {
"sequence": {
"item-type": "project-activity-type"
}
},
"project-activity-type": {
"allowed-values": [
"created",
"closed",
"reopened",
"edited",
"deleted"
]
},
"project-card-string": {
"description": "Runs your workflow when a card on a project board is created or modified. For activity related to project boards or columns in a project board, use the `project` or `project_column` event instead.",
"string": {
"constant": "project_card"
}
},
"project-card": {
"description": "Runs your workflow when a card on a project board is created or modified. For activity related to project boards or columns in a project board, use the `project` or `project_column` event instead.",
"one-of": [
"null",
"project-card-mapping"
]
},
"project-card-mapping": {
"mapping": {
"properties": {
"types": "project-card-activity"
}
}
},
"project-card-activity": {
"description": "The types of project card activity that trigger the workflow. Supported activity types: `created`, `moved`, `converted`, `edited`, `deleted`.",
"one-of": [
"project-card-activity-type",
"project-card-activity-types"
]
},
"project-card-activity-types": {
"sequence": {
"item-type": "project-card-activity-type"
}
},
"project-card-activity-type": {
"allowed-values": [
"created",
"moved",
"converted",
"edited",
"deleted"
]
},
"project-column-string": {
"description": "Runs your workflow when a column on a project board is created or modified. For activity related to project boards or cards in a project board, use the `project` or `project_card` event instead.",
"string": {
"constant": "project_column"
}
},
"project-column": {
"description": "Runs your workflow when a column on a project board is created or modified. For activity related to project boards or cards in a project board, use the `project` or `project_card` event instead.",
"one-of": [
"null",
"project-column-mapping"
]
},
"project-column-mapping": {
"mapping": {
"properties": {
"types": "project-column-activity"
}
}
},
"project-column-activity": {
"description": "The types of project column activity that trigger the workflow. Supported activity types: `created`, `updated`, `moved`, `deleted`.",
"one-of": [
"project-column-activity-type",
"project-column-activity-types"
]
},
"project-column-activity-types": {
"sequence": {
"item-type": "project-column-activity-type"
}
},
"project-column-activity-type": {
"allowed-values": [
"created",
"updated",
"moved",
"deleted"
]
},
"public-string": {
"description": "Runs your workflow when your workflow's repository changes from private to public.",
"string": {
"constant": "public"
}
},
"public": {
"description": "Runs your workflow when your workflow's repository changes from private to public.",
"null": {}
},
"pull-request-string": {
"description": "Runs your workflow when activity on a pull request in the workflow's repository occurs. If no activity types are specified, the workflow runs when a pull request is opened, reopened, or when the head branch of the pull request is updated.",
"string": {
"constant": "pull_request"
}
},
"pull-request": {
"description": "Runs your workflow when activity on a pull request in the workflow's repository occurs. If no activity types are specified, the workflow runs when a pull request is opened, reopened, or when the head branch of the pull request is updated.",
"one-of": [
"null",
"pull-request-mapping"
]
},
"pull-request-mapping": {
"mapping": {
"properties": {
"types": "pull-request-activity",
"branches": "event-branches",
"branches-ignore": "event-branches-ignore",
"paths": "event-paths",
"paths-ignore": "event-paths-ignore"
}
}
},
"pull-request-activity": {
"description": "The types of pull request activity that trigger the workflow. Supported activity types: `assigned`, `unassigned`, `labeled`, `unlabeled`, `opened`, `edited`, `closed`, `reopened`, `synchronize`, `converted_to_draft`, `locked`, `unlocked`, `enqueued`, `dequeued`, `milestoned`, `demilestoned`, `ready_for_review`, `review_requested`, `review_request_removed`, `auto_merge_enabled`, `auto_merge_disabled`.",
"one-of": [
"pull-request-activity-type",
"pull-request-activity-types"
]
},
"pull-request-activity-types": {
"sequence": {
"item-type": "pull-request-activity-type"
}
},
"pull-request-activity-type": {
"allowed-values": [
"assigned",
"unassigned",
"labeled",
"unlabeled",
"opened",
"edited",
"closed",
"reopened",
"synchronize",
"converted_to_draft",
"locked",
"unlocked",
"enqueued",
"dequeued",
"milestoned",
"demilestoned",
"ready_for_review",
"review_requested",
"review_request_removed",
"auto_merge_enabled",
"auto_merge_disabled"
]
},
"pull-request-comment-string": {
"description": "Please use the `issue_comment` event instead.",
"string": {
"constant": "pull_request_comment"
}
},
"pull-request-comment": {
"description": "Please use the `issue_comment` event instead.",
"one-of": [
"null",
"issue-comment-mapping"
]
},
"pull-request-review-string": {
"description": "Runs your workflow when a pull request review is submitted, edited, or dismissed. A pull request review is a group of pull request review comments in addition to a body comment and a state. For activity related to pull request review comments or pull request comments, use the `pull_request_review_comment` or `issue_comment` events instead.",
"string": {
"constant": "pull_request_review"
}
},
"pull-request-review": {
"description": "Runs your workflow when a pull request review is submitted, edited, or dismissed. A pull request review is a group of pull request review comments in addition to a body comment and a state. For activity related to pull request review comments or pull request comments, use the `pull_request_review_comment` or `issue_comment` events instead.",
"one-of": [
"null",
"pull-request-review-mapping"
]
},
"pull-request-review-mapping": {
"mapping": {
"properties": {
"types": "pull-request-review-activity"
}
}
},
"pull-request-review-activity": {
"description": "The types of pull request review activity that trigger the workflow. Supported activity types: `submitted`, `edited`, `dismissed`.",
"one-of": [
"pull-request-review-activity-type",
"pull-request-review-activity-types"
]
},
"pull-request-review-activity-types": {
"sequence": {
"item-type": "pull-request-review-activity-type"
}
},
"pull-request-review-activity-type": {
"allowed-values": [
"submitted",
"edited",
"dismissed"
]
},
"pull-request-review-comment-string": {
"description": "",
"string": {
"constant": "pull_request_review_comment"
}
},
"pull-request-review-comment": {
"description": "",
"one-of": [
"null",
"pull-request-review-comment-mapping"
]
},
"pull-request-review-comment-mapping": {
"mapping": {
"properties": {
"types": "pull-request-review-comment-activity"
}
}
},
"pull-request-review-comment-activity": {
"description": "The types of pull request review comment activity that trigger the workflow. Supported activity types: `created`, `edited`, `deleted`.",
"one-of": [
"pull-request-review-comment-activity-type",
"pull-request-review-comment-activity-types"
]
},
"pull-request-review-comment-activity-types": {
"sequence": {
"item-type": "pull-request-review-comment-activity-type"
}
},
"pull-request-review-comment-activity-type": {
"allowed-values": [
"created",
"edited",
"deleted"
]
},
"pull-request-target-string": {
"description": "Runs your workflow when activity on a pull request in the workflow's repository occurs. If no activity types are specified, the workflow runs when a pull request is opened, reopened, or when the head branch of the pull request is updated.\n\nThis event runs in the context of the base of the pull request, rather than in the context of the merge commit, as the `pull_request` event does. This prevents execution of unsafe code from the head of the pull request that could alter your repository or steal any secrets you use in your workflow. This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.",
"string": {
"constant": "pull_request_target"
}
},
"pull-request-target": {
"description": "Runs your workflow when activity on a pull request in the workflow's repository occurs. If no activity types are specified, the workflow runs when a pull request is opened, reopened, or when the head branch of the pull request is updated.\n\nThis event runs in the context of the base of the pull request, rather than in the context of the merge commit, as the `pull_request` event does. This prevents execution of unsafe code from the head of the pull request that could alter your repository or steal any secrets you use in your workflow. This event allows your workflow to do things like label or comment on pull requests from forks. Avoid using this event if you need to build or run code from the pull request.",
"one-of": [
"null",
"pull-request-target-mapping"
]
},
"pull-request-target-mapping": {
"mapping": {