@camunda/connectors-element-templates 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (77) hide show
  1. package/package.json +1 -1
  2. package/src/connectors.js +8 -2
  3. package/src/element-templates/agenticai-adhoctoolsschema-outbound-connector.json +30 -30
  4. package/src/element-templates/agenticai-aiagent-outbound-connector.json +323 -9
  5. package/src/element-templates/asana-connector.json +101 -101
  6. package/src/element-templates/automation-anywhere-outbound-connector.json +1777 -961
  7. package/src/element-templates/aws-bedrock-outbound-connector.json +74 -74
  8. package/src/element-templates/aws-comprehend-outbound-connector.json +36 -36
  9. package/src/element-templates/aws-dynamodb-outbound-connector.json +1373 -1373
  10. package/src/element-templates/aws-eventbridge-connector-boundary.json +28 -28
  11. package/src/element-templates/aws-eventbridge-connector-message-start.json +10 -10
  12. package/src/element-templates/aws-eventbridge-connector-start-event.json +23 -23
  13. package/src/element-templates/aws-eventbridge-outbound-connector.json +326 -326
  14. package/src/element-templates/aws-lambda-outbound-connector.json +231 -231
  15. package/src/element-templates/aws-sagemaker-outbound-connector.json +50 -50
  16. package/src/element-templates/aws-sns-inbound-boundary.json +285 -285
  17. package/src/element-templates/aws-sns-inbound-intermediate.json +33 -33
  18. package/src/element-templates/aws-sns-inbound-message-start.json +227 -227
  19. package/src/element-templates/aws-sns-inbound-start-event.json +132 -132
  20. package/src/element-templates/aws-sns-outbound-connector.json +370 -370
  21. package/src/element-templates/aws-sqs-boundary-connector.json +232 -232
  22. package/src/element-templates/aws-sqs-inbound-intermediate-connector.json +532 -532
  23. package/src/element-templates/aws-sqs-outbound-connector.json +396 -396
  24. package/src/element-templates/aws-sqs-start-event-connector.json +389 -389
  25. package/src/element-templates/aws-textract-outbound-connector.json +123 -123
  26. package/src/element-templates/azure-blobstorage-outbound-connector.json +349 -0
  27. package/src/element-templates/blue-prism-connector.json +13 -13
  28. package/src/element-templates/box-outbound-connector.json +30 -30
  29. package/src/element-templates/easy-post-connector.json +121 -121
  30. package/src/element-templates/email-outbound-connector.json +233 -233
  31. package/src/element-templates/github-connector.json +1259 -1259
  32. package/src/element-templates/github-webhook-connector-boundary.json +35 -35
  33. package/src/element-templates/github-webhook-connector-intermediate.json +31 -31
  34. package/src/element-templates/github-webhook-connector-start-event.json +34 -34
  35. package/src/element-templates/gitlab-connector.json +3333 -3333
  36. package/src/element-templates/google-cloud-storage-outbound-connector.json +357 -0
  37. package/src/element-templates/google-drive-outbound-connector.json +414 -101
  38. package/src/element-templates/google-gemini-outbound-connector.json +32 -32
  39. package/src/element-templates/google-maps-platform-connector.json +489 -0
  40. package/src/element-templates/google-sheets-outbound-connector.json +2468 -2468
  41. package/src/element-templates/graphql-outbound-connector.json +1113 -1113
  42. package/src/element-templates/http-json-connector.json +2202 -1290
  43. package/src/element-templates/http-polling-boundary-catch-event-connector.json +6 -6
  44. package/src/element-templates/http-polling-connector.json +6 -6
  45. package/src/element-templates/hugging-face-connector.json +34 -34
  46. package/src/element-templates/idp-extraction-outbound-connector.json +115 -0
  47. package/src/element-templates/jdbc-outbound-connector.json +36 -36
  48. package/src/element-templates/kafka-inbound-connector-boundary.json +540 -540
  49. package/src/element-templates/kafka-inbound-connector-intermediate.json +585 -585
  50. package/src/element-templates/kafka-inbound-connector.json +603 -0
  51. package/src/element-templates/kafka-outbound-connector.json +261 -261
  52. package/src/element-templates/microsoft-office365-mail-connector.json +32 -32
  53. package/src/element-templates/microsoft-teams-outbound-connector.json +97 -97
  54. package/src/element-templates/openai-connector.json +517 -159
  55. package/src/element-templates/operate-connector.json +569 -53
  56. package/src/element-templates/power-automate-connector.json +1724 -0
  57. package/src/element-templates/rabbitmq-inbound-connector-boundary.json +132 -132
  58. package/src/element-templates/rabbitmq-inbound-connector-intermediate.json +941 -941
  59. package/src/element-templates/rabbitmq-inbound-connector-message-start.json +459 -459
  60. package/src/element-templates/rabbitmq-inbound-connector-start-event.json +269 -269
  61. package/src/element-templates/rabbitmq-outbound-connector.json +631 -631
  62. package/src/element-templates/salesforce-connector.json +44 -44
  63. package/src/element-templates/sendgrid-outbound-connector.json +787 -255
  64. package/src/element-templates/slack-inbound-boundary.json +215 -215
  65. package/src/element-templates/slack-inbound-intermediate.json +178 -178
  66. package/src/element-templates/slack-inbound-message-start.json +323 -323
  67. package/src/element-templates/slack-inbound-start-event.json +212 -212
  68. package/src/element-templates/slack-outbound-connector.json +777 -522
  69. package/src/element-templates/twilio-connector.json +29 -29
  70. package/src/element-templates/twilio-webhook-boundary-connector.json +28 -28
  71. package/src/element-templates/twilio-webhook-intermediate-connector.json +31 -31
  72. package/src/element-templates/uipath-connector.json +8 -8
  73. package/src/element-templates/webhook-connector-boundary.json +1133 -1133
  74. package/src/element-templates/webhook-connector-intermediate.json +1380 -1380
  75. package/src/element-templates/webhook-connector-start-event.json +1370 -1370
  76. package/src/element-templates/webhook-connector-start-message.json +1171 -1171
  77. package/src/element-templates/agenticai-aiagent-outbound-connector-8.8.0-alpha4.json +0 -843
@@ -1,10 +1,10 @@
1
1
  [
2
2
  {
3
3
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4
- "name": "GitHub Outbound Connector",
4
+ "name": "GitHub",
5
5
  "id": "io.camunda.connectors.GitHub.v1",
6
- "version": 5,
7
- "description": "Manage issues, branches, releases, and more",
6
+ "version": 1,
7
+ "description": "GitHub connector",
8
8
  "icon": {
9
9
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
10
10
  },
@@ -79,10 +79,6 @@
79
79
  {
80
80
  "name": "Code scanning",
81
81
  "value": "codeScanning"
82
- },
83
- {
84
- "name": "Actions",
85
- "value": "actions"
86
82
  }
87
83
  ],
88
84
  "binding": {
@@ -263,26 +259,6 @@
263
259
  "name": "operationType"
264
260
  }
265
261
  },
266
- {
267
- "label": "Operation type",
268
- "id": "eventOperationType",
269
- "group": "operation",
270
- "type": "Dropdown",
271
- "choices": [
272
- {
273
- "name": "Create a workflow dispatch event",
274
- "value": "createWorkflowDispatchEvent"
275
- }
276
- ],
277
- "condition": {
278
- "property": "operationGroup",
279
- "oneOf": ["actions"]
280
- },
281
- "binding": {
282
- "type": "zeebe:input",
283
- "name": "operationType"
284
- }
285
- },
286
262
  {
287
263
  "type": "Hidden",
288
264
  "label": "Type",
@@ -312,20 +288,6 @@
312
288
  "equals": "bearer"
313
289
  }
314
290
  },
315
- {
316
- "id": "eventMethodPost",
317
- "group": "configuration",
318
- "type": "Hidden",
319
- "value": "post",
320
- "binding": {
321
- "type": "zeebe:input",
322
- "name": "method"
323
- },
324
- "condition": {
325
- "property": "eventOperationType",
326
- "oneOf": ["createWorkflowDispatchEvent"]
327
- }
328
- },
329
291
  {
330
292
  "id": "reposMethodPost",
331
293
  "group": "configuration",
@@ -522,25 +484,6 @@
522
484
  "oneOf": ["searchIssues", "getIssue", "listCommits"]
523
485
  }
524
486
  },
525
- {
526
- "label": "Owner",
527
- "description": "Repository owner",
528
- "group": "configuration",
529
- "type": "String",
530
- "feel": "optional",
531
- "value": "",
532
- "binding": {
533
- "type": "zeebe:input",
534
- "name": "owner"
535
- },
536
- "constraints": {
537
- "notEmpty": true
538
- },
539
- "condition": {
540
- "property": "eventOperationType",
541
- "oneOf": ["createWorkflowDispatchEvent"]
542
- }
543
- },
544
487
  {
545
488
  "label": "Owner",
546
489
  "description": "Repository owner",
@@ -652,25 +595,6 @@
652
595
  ]
653
596
  }
654
597
  },
655
- {
656
- "label": "Repository",
657
- "description": "Name of the repository",
658
- "group": "configuration",
659
- "type": "String",
660
- "feel": "optional",
661
- "value": "",
662
- "binding": {
663
- "type": "zeebe:input",
664
- "name": "repo"
665
- },
666
- "constraints": {
667
- "notEmpty": true
668
- },
669
- "condition": {
670
- "property": "eventOperationType",
671
- "oneOf": ["createWorkflowDispatchEvent"]
672
- }
673
- },
674
598
  {
675
599
  "label": "Repository",
676
600
  "description": "Name of the repository",
@@ -872,10 +796,10 @@
872
796
  },
873
797
  {
874
798
  "label": "Body",
875
- "description": "The contents of the issue or release",
799
+ "description": "The contents of the issue or release or comment",
876
800
  "feel": "optional",
877
801
  "group": "input",
878
- "type": "Text",
802
+ "type": "String",
879
803
  "binding": {
880
804
  "type": "zeebe:input",
881
805
  "name": "githubBody"
@@ -888,10 +812,10 @@
888
812
  },
889
813
  {
890
814
  "label": "Body",
891
- "description": "The contents of the issue or release",
815
+ "description": "The contents of the issue or release or comment",
892
816
  "feel": "optional",
893
817
  "group": "input",
894
- "type": "Text",
818
+ "type": "String",
895
819
  "binding": {
896
820
  "type": "zeebe:input",
897
821
  "name": "githubBody"
@@ -899,25 +823,7 @@
899
823
  "optional": true,
900
824
  "condition": {
901
825
  "property": "issueOperationType",
902
- "oneOf": ["createIssue", "updateIssue"]
903
- }
904
- },
905
- {
906
- "label": "Body",
907
- "description": "The contents of the issue comment",
908
- "feel": "optional",
909
- "group": "input",
910
- "constraints": {
911
- "notEmpty": true
912
- },
913
- "type": "Text",
914
- "binding": {
915
- "type": "zeebe:input",
916
- "name": "githubBody"
917
- },
918
- "condition": {
919
- "property": "issueOperationType",
920
- "oneOf": ["createIssueComment"]
826
+ "oneOf": ["createIssue", "updateIssue", "createIssueComment"]
921
827
  }
922
828
  },
923
829
  {
@@ -1441,61 +1347,6 @@
1441
1347
  "oneOf": ["updateIssue"]
1442
1348
  }
1443
1349
  },
1444
- {
1445
- "label": "Git reference",
1446
- "description": "Branch or tag name for the workflow",
1447
- "group": "input",
1448
- "type": "String",
1449
- "feel": "optional",
1450
- "value": "",
1451
- "binding": {
1452
- "type": "zeebe:input",
1453
- "name": "gitReference"
1454
- },
1455
- "constraints": {
1456
- "notEmpty": true
1457
- },
1458
- "condition": {
1459
- "property": "eventOperationType",
1460
- "oneOf": ["createWorkflowDispatchEvent"]
1461
- }
1462
- },
1463
- {
1464
- "label": "Workflow ID",
1465
- "description": "The ID of the workflow. You can also pass the workflow file name as a string.",
1466
- "group": "configuration",
1467
- "type": "String",
1468
- "feel": "optional",
1469
- "value": "",
1470
- "binding": {
1471
- "type": "zeebe:input",
1472
- "name": "workflowId"
1473
- },
1474
- "constraints": {
1475
- "notEmpty": true
1476
- },
1477
- "condition": {
1478
- "property": "eventOperationType",
1479
- "oneOf": ["createWorkflowDispatchEvent"]
1480
- }
1481
- },
1482
- {
1483
- "label": "Workflow inputs",
1484
- "description": "An object containing up to 10 key-value pairs",
1485
- "group": "input",
1486
- "type": "Text",
1487
- "feel": "required",
1488
- "value": "={}",
1489
- "binding": {
1490
- "type": "zeebe:input",
1491
- "name": "workflowInputs"
1492
- },
1493
- "optional": true,
1494
- "condition": {
1495
- "property": "eventOperationType",
1496
- "oneOf": ["createWorkflowDispatchEvent"]
1497
- }
1498
- },
1499
1350
  {
1500
1351
  "group": "configuration",
1501
1352
  "type": "Hidden",
@@ -1522,20 +1373,6 @@
1522
1373
  },
1523
1374
  "optional": true
1524
1375
  },
1525
- {
1526
- "group": "input",
1527
- "type": "Hidden",
1528
- "value": "={\"body\":if githubBody = null then null else githubBody}",
1529
- "binding": {
1530
- "type": "zeebe:input",
1531
- "name": "body"
1532
- },
1533
- "condition": {
1534
- "property": "issueOperationType",
1535
- "oneOf": ["createIssueComment"]
1536
- },
1537
- "optional": true
1538
- },
1539
1376
  {
1540
1377
  "group": "input",
1541
1378
  "type": "Hidden",
@@ -1578,20 +1415,6 @@
1578
1415
  },
1579
1416
  "optional": true
1580
1417
  },
1581
- {
1582
- "group": "input",
1583
- "type": "Hidden",
1584
- "value": "={\"ref\": if gitReference = null then null else gitReference, \"inputs\":workflowInputs}",
1585
- "binding": {
1586
- "type": "zeebe:input",
1587
- "name": "body"
1588
- },
1589
- "condition": {
1590
- "property": "eventOperationType",
1591
- "oneOf": ["createWorkflowDispatchEvent"]
1592
- },
1593
- "optional": true
1594
- },
1595
1418
  {
1596
1419
  "group": "input",
1597
1420
  "type": "Hidden",
@@ -1898,7 +1721,7 @@
1898
1721
  "constraints": {
1899
1722
  "notEmpty": false,
1900
1723
  "pattern": {
1901
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
1724
+ "value": "^(=|([0-9]+|secrets\\..+)$)",
1902
1725
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
1903
1726
  }
1904
1727
  }
@@ -1949,7 +1772,7 @@
1949
1772
  },
1950
1773
  {
1951
1774
  "type": "Hidden",
1952
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"/comments\"",
1775
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"comments\"",
1953
1776
  "binding": {
1954
1777
  "type": "zeebe:input",
1955
1778
  "name": "url"
@@ -2115,18 +1938,6 @@
2115
1938
  "oneOf": ["searchIssues"]
2116
1939
  }
2117
1940
  },
2118
- {
2119
- "type": "Hidden",
2120
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/actions/workflows/\" + workflowId + \"/dispatches\"",
2121
- "binding": {
2122
- "type": "zeebe:input",
2123
- "name": "url"
2124
- },
2125
- "condition": {
2126
- "property": "eventOperationType",
2127
- "oneOf": ["createWorkflowDispatchEvent"]
2128
- }
2129
- },
2130
1941
  {
2131
1942
  "label": "Error expression",
2132
1943
  "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
@@ -2140,19 +1951,19 @@
2140
1951
  }
2141
1952
  ],
2142
1953
  "engines": {
2143
- "camunda": "^8.5"
1954
+ "camunda": "^8.2"
2144
1955
  }
2145
1956
  },
2146
1957
  {
2147
1958
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2148
- "name": "GitHub Outbound Connector",
1959
+ "name": "GitHub",
2149
1960
  "id": "io.camunda.connectors.GitHub.v1",
2150
- "version": 6,
2151
- "description": "Manage issues, branches, releases, and more",
1961
+ "version": 2,
1962
+ "description": "GitHub connector",
2152
1963
  "icon": {
2153
1964
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
2154
1965
  },
2155
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/github/?github=outbound",
1966
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/github/",
2156
1967
  "category": {
2157
1968
  "id": "connectors",
2158
1969
  "name": "Connectors"
@@ -2223,22 +2034,6 @@
2223
2034
  {
2224
2035
  "name": "Code scanning",
2225
2036
  "value": "codeScanning"
2226
- },
2227
- {
2228
- "name": "Actions",
2229
- "value": "actions"
2230
- },
2231
- {
2232
- "name": "References",
2233
- "value": "references"
2234
- },
2235
- {
2236
- "name": "Pulls",
2237
- "value": "pulls"
2238
- },
2239
- {
2240
- "name": "Collaborators",
2241
- "value": "collaborators"
2242
2037
  }
2243
2038
  ],
2244
2039
  "binding": {
@@ -2420,95 +2215,11 @@
2420
2215
  }
2421
2216
  },
2422
2217
  {
2423
- "label": "Operation type",
2424
- "id": "eventOperationType",
2425
- "group": "operation",
2426
- "type": "Dropdown",
2427
- "value": "createWorkflowDispatchEvent",
2428
- "choices": [
2429
- {
2430
- "name": "Create a workflow dispatch event",
2431
- "value": "createWorkflowDispatchEvent"
2432
- }
2433
- ],
2434
- "condition": {
2435
- "property": "operationGroup",
2436
- "oneOf": ["actions"]
2437
- },
2438
- "binding": {
2439
- "type": "zeebe:input",
2440
- "name": "operationType"
2441
- }
2442
- },
2443
- {
2444
- "label": "Operation type",
2445
- "id": "referenceOperationType",
2446
- "group": "operation",
2447
- "type": "Dropdown",
2448
- "value": "createReference",
2449
- "choices": [
2450
- {
2451
- "name": "Create a reference",
2452
- "value": "createReference"
2453
- }
2454
- ],
2455
- "condition": {
2456
- "property": "operationGroup",
2457
- "oneOf": ["references"]
2458
- },
2459
- "binding": {
2460
- "type": "zeebe:input",
2461
- "name": "operationType"
2462
- }
2463
- },
2464
- {
2465
- "label": "Operation type",
2466
- "id": "pullRequestOperationType",
2467
- "group": "operation",
2468
- "type": "Dropdown",
2469
- "value": "createPullRequest",
2470
- "choices": [
2471
- {
2472
- "name": "Create a pull request",
2473
- "value": "createPullRequest"
2474
- }
2475
- ],
2476
- "condition": {
2477
- "property": "operationGroup",
2478
- "oneOf": ["pulls"]
2479
- },
2480
- "binding": {
2481
- "type": "zeebe:input",
2482
- "name": "operationType"
2483
- }
2484
- },
2485
- {
2486
- "label": "Operation type",
2487
- "id": "listCollaboratorsOperationType",
2488
- "group": "operation",
2489
- "type": "Dropdown",
2490
- "value": "listCollaborators",
2491
- "choices": [
2492
- {
2493
- "name": "List repository collaborators",
2494
- "value": "listCollaborators"
2495
- }
2496
- ],
2497
- "condition": {
2498
- "property": "operationGroup",
2499
- "oneOf": ["collaborators"]
2500
- },
2501
- "binding": {
2502
- "type": "zeebe:input",
2503
- "name": "operationType"
2504
- }
2505
- },
2506
- {
2507
- "type": "Hidden",
2508
- "label": "Type",
2509
- "id": "authenticationType",
2510
- "group": "authentication",
2511
- "value": "bearer",
2218
+ "type": "Hidden",
2219
+ "label": "Type",
2220
+ "id": "authenticationType",
2221
+ "group": "authentication",
2222
+ "value": "bearer",
2512
2223
  "binding": {
2513
2224
  "type": "zeebe:input",
2514
2225
  "name": "authentication.type"
@@ -2532,48 +2243,6 @@
2532
2243
  "equals": "bearer"
2533
2244
  }
2534
2245
  },
2535
- {
2536
- "id": "pullRequestMethodPost",
2537
- "group": "configuration",
2538
- "type": "Hidden",
2539
- "value": "post",
2540
- "binding": {
2541
- "type": "zeebe:input",
2542
- "name": "method"
2543
- },
2544
- "condition": {
2545
- "property": "pullRequestOperationType",
2546
- "oneOf": ["createPullRequest"]
2547
- }
2548
- },
2549
- {
2550
- "id": "refMethodPost",
2551
- "group": "configuration",
2552
- "type": "Hidden",
2553
- "value": "post",
2554
- "binding": {
2555
- "type": "zeebe:input",
2556
- "name": "method"
2557
- },
2558
- "condition": {
2559
- "property": "referenceOperationType",
2560
- "oneOf": ["createReference"]
2561
- }
2562
- },
2563
- {
2564
- "id": "eventMethodPost",
2565
- "group": "configuration",
2566
- "type": "Hidden",
2567
- "value": "post",
2568
- "binding": {
2569
- "type": "zeebe:input",
2570
- "name": "method"
2571
- },
2572
- "condition": {
2573
- "property": "eventOperationType",
2574
- "oneOf": ["createWorkflowDispatchEvent"]
2575
- }
2576
- },
2577
2246
  {
2578
2247
  "id": "reposMethodPost",
2579
2248
  "group": "configuration",
@@ -2700,20 +2369,6 @@
2700
2369
  "oneOf": ["deleteRelease"]
2701
2370
  }
2702
2371
  },
2703
- {
2704
- "id": "listCollaboratorsMethodGet",
2705
- "group": "configuration",
2706
- "type": "Hidden",
2707
- "value": "get",
2708
- "binding": {
2709
- "type": "zeebe:input",
2710
- "name": "method"
2711
- },
2712
- "condition": {
2713
- "property": "listCollaboratorsOperationType",
2714
- "oneOf": ["listCollaborators"]
2715
- }
2716
- },
2717
2372
  {
2718
2373
  "id": "listAlertsMethodGet",
2719
2374
  "group": "configuration",
@@ -2784,82 +2439,6 @@
2784
2439
  "oneOf": ["searchIssues", "getIssue", "listCommits"]
2785
2440
  }
2786
2441
  },
2787
- {
2788
- "label": "Owner",
2789
- "description": "Repository owner",
2790
- "group": "configuration",
2791
- "type": "String",
2792
- "feel": "optional",
2793
- "value": "",
2794
- "binding": {
2795
- "type": "zeebe:input",
2796
- "name": "owner"
2797
- },
2798
- "constraints": {
2799
- "notEmpty": true
2800
- },
2801
- "condition": {
2802
- "property": "listCollaboratorsOperationType",
2803
- "oneOf": ["listCollaborators"]
2804
- }
2805
- },
2806
- {
2807
- "label": "Owner",
2808
- "description": "Repository owner",
2809
- "group": "configuration",
2810
- "type": "String",
2811
- "feel": "optional",
2812
- "value": "",
2813
- "binding": {
2814
- "type": "zeebe:input",
2815
- "name": "owner"
2816
- },
2817
- "constraints": {
2818
- "notEmpty": true
2819
- },
2820
- "condition": {
2821
- "property": "pullRequestOperationType",
2822
- "oneOf": ["createPullRequest"]
2823
- }
2824
- },
2825
- {
2826
- "label": "Owner",
2827
- "description": "Repository owner",
2828
- "group": "configuration",
2829
- "type": "String",
2830
- "feel": "optional",
2831
- "value": "",
2832
- "binding": {
2833
- "type": "zeebe:input",
2834
- "name": "owner"
2835
- },
2836
- "constraints": {
2837
- "notEmpty": true
2838
- },
2839
- "condition": {
2840
- "property": "referenceOperationType",
2841
- "oneOf": ["createReference"]
2842
- }
2843
- },
2844
- {
2845
- "label": "Owner",
2846
- "description": "Repository owner",
2847
- "group": "configuration",
2848
- "type": "String",
2849
- "feel": "optional",
2850
- "value": "",
2851
- "binding": {
2852
- "type": "zeebe:input",
2853
- "name": "owner"
2854
- },
2855
- "constraints": {
2856
- "notEmpty": true
2857
- },
2858
- "condition": {
2859
- "property": "eventOperationType",
2860
- "oneOf": ["createWorkflowDispatchEvent"]
2861
- }
2862
- },
2863
2442
  {
2864
2443
  "label": "Owner",
2865
2444
  "description": "Repository owner",
@@ -2986,8 +2565,8 @@
2986
2565
  "notEmpty": true
2987
2566
  },
2988
2567
  "condition": {
2989
- "property": "listCollaboratorsOperationType",
2990
- "oneOf": ["listCollaborators"]
2568
+ "property": "listAlertsOperationType",
2569
+ "oneOf": ["listAlertsForRepo"]
2991
2570
  }
2992
2571
  },
2993
2572
  {
@@ -3005,8 +2584,13 @@
3005
2584
  "notEmpty": true
3006
2585
  },
3007
2586
  "condition": {
3008
- "property": "pullRequestOperationType",
3009
- "oneOf": ["createPullRequest"]
2587
+ "property": "reposOperationType",
2588
+ "oneOf": [
2589
+ "getRepo",
2590
+ "deleteRepo",
2591
+ "updateRepo",
2592
+ "listRepoContributors"
2593
+ ]
3010
2594
  }
3011
2595
  },
3012
2596
  {
@@ -3024,8 +2608,8 @@
3024
2608
  "notEmpty": true
3025
2609
  },
3026
2610
  "condition": {
3027
- "property": "referenceOperationType",
3028
- "oneOf": ["createReference"]
2611
+ "property": "branchOperationType",
2612
+ "oneOf": ["mergeBranch", "listBranches", "getBranch"]
3029
2613
  }
3030
2614
  },
3031
2615
  {
@@ -3043,8 +2627,13 @@
3043
2627
  "notEmpty": true
3044
2628
  },
3045
2629
  "condition": {
3046
- "property": "eventOperationType",
3047
- "oneOf": ["createWorkflowDispatchEvent"]
2630
+ "property": "releaseOperationType",
2631
+ "oneOf": [
2632
+ "createRelease",
2633
+ "updateRelease",
2634
+ "deleteRelease",
2635
+ "listReleases"
2636
+ ]
3048
2637
  }
3049
2638
  },
3050
2639
  {
@@ -3062,111 +2651,25 @@
3062
2651
  "notEmpty": true
3063
2652
  },
3064
2653
  "condition": {
3065
- "property": "listAlertsOperationType",
3066
- "oneOf": ["listAlertsForRepo"]
2654
+ "property": "issueOperationType",
2655
+ "oneOf": [
2656
+ "createIssue",
2657
+ "getIssue",
2658
+ "updateIssue",
2659
+ "createIssueComment",
2660
+ "listCommits"
2661
+ ]
3067
2662
  }
3068
2663
  },
3069
2664
  {
3070
- "label": "Repository",
3071
- "description": "Name of the repository",
3072
- "group": "configuration",
3073
- "type": "String",
2665
+ "label": "Issue number",
2666
+ "description": "The number that identifies the issue",
3074
2667
  "feel": "optional",
3075
- "value": "",
2668
+ "group": "input",
2669
+ "type": "String",
3076
2670
  "binding": {
3077
2671
  "type": "zeebe:input",
3078
- "name": "repo"
3079
- },
3080
- "constraints": {
3081
- "notEmpty": true
3082
- },
3083
- "condition": {
3084
- "property": "reposOperationType",
3085
- "oneOf": [
3086
- "getRepo",
3087
- "deleteRepo",
3088
- "updateRepo",
3089
- "listRepoContributors"
3090
- ]
3091
- }
3092
- },
3093
- {
3094
- "label": "Repository",
3095
- "description": "Name of the repository",
3096
- "group": "configuration",
3097
- "type": "String",
3098
- "feel": "optional",
3099
- "value": "",
3100
- "binding": {
3101
- "type": "zeebe:input",
3102
- "name": "repo"
3103
- },
3104
- "constraints": {
3105
- "notEmpty": true
3106
- },
3107
- "condition": {
3108
- "property": "branchOperationType",
3109
- "oneOf": ["mergeBranch", "listBranches", "getBranch"]
3110
- }
3111
- },
3112
- {
3113
- "label": "Repository",
3114
- "description": "Name of the repository",
3115
- "group": "configuration",
3116
- "type": "String",
3117
- "feel": "optional",
3118
- "value": "",
3119
- "binding": {
3120
- "type": "zeebe:input",
3121
- "name": "repo"
3122
- },
3123
- "constraints": {
3124
- "notEmpty": true
3125
- },
3126
- "condition": {
3127
- "property": "releaseOperationType",
3128
- "oneOf": [
3129
- "createRelease",
3130
- "updateRelease",
3131
- "deleteRelease",
3132
- "listReleases"
3133
- ]
3134
- }
3135
- },
3136
- {
3137
- "label": "Repository",
3138
- "description": "Name of the repository",
3139
- "group": "configuration",
3140
- "type": "String",
3141
- "feel": "optional",
3142
- "value": "",
3143
- "binding": {
3144
- "type": "zeebe:input",
3145
- "name": "repo"
3146
- },
3147
- "constraints": {
3148
- "notEmpty": true
3149
- },
3150
- "condition": {
3151
- "property": "issueOperationType",
3152
- "oneOf": [
3153
- "createIssue",
3154
- "getIssue",
3155
- "updateIssue",
3156
- "createIssueComment",
3157
- "listCommits"
3158
- ]
3159
- }
3160
- },
3161
- {
3162
- "label": "Issue number",
3163
- "description": "The number that identifies the issue",
3164
- "feel": "optional",
3165
- "group": "input",
3166
- "type": "String",
3167
- "binding": {
3168
- "type": "zeebe:input",
3169
- "name": "issueNumber"
2672
+ "name": "issueNumber"
3170
2673
  },
3171
2674
  "constraints": {
3172
2675
  "notEmpty": true
@@ -3248,10 +2751,10 @@
3248
2751
  },
3249
2752
  {
3250
2753
  "label": "Body",
3251
- "description": "The contents of the issue or release",
2754
+ "description": "The contents of the issue or release or comment",
3252
2755
  "feel": "optional",
3253
2756
  "group": "input",
3254
- "type": "Text",
2757
+ "type": "String",
3255
2758
  "binding": {
3256
2759
  "type": "zeebe:input",
3257
2760
  "name": "githubBody"
@@ -3264,10 +2767,10 @@
3264
2767
  },
3265
2768
  {
3266
2769
  "label": "Body",
3267
- "description": "The contents of the issue or release",
2770
+ "description": "The contents of the issue or release or comment",
3268
2771
  "feel": "optional",
3269
2772
  "group": "input",
3270
- "type": "Text",
2773
+ "type": "String",
3271
2774
  "binding": {
3272
2775
  "type": "zeebe:input",
3273
2776
  "name": "githubBody"
@@ -3275,25 +2778,7 @@
3275
2778
  "optional": true,
3276
2779
  "condition": {
3277
2780
  "property": "issueOperationType",
3278
- "oneOf": ["createIssue", "updateIssue"]
3279
- }
3280
- },
3281
- {
3282
- "label": "Body",
3283
- "description": "The contents of the issue comment",
3284
- "feel": "optional",
3285
- "group": "input",
3286
- "constraints": {
3287
- "notEmpty": true
3288
- },
3289
- "type": "Text",
3290
- "binding": {
3291
- "type": "zeebe:input",
3292
- "name": "githubBody"
3293
- },
3294
- "condition": {
3295
- "property": "issueOperationType",
3296
- "oneOf": ["createIssueComment"]
2781
+ "oneOf": ["createIssue", "updateIssue", "createIssueComment"]
3297
2782
  }
3298
2783
  },
3299
2784
  {
@@ -3818,407 +3303,103 @@
3818
3303
  }
3819
3304
  },
3820
3305
  {
3821
- "label": "Git reference",
3822
- "description": "Branch or tag name for the workflow",
3823
- "group": "input",
3824
- "type": "String",
3825
- "feel": "optional",
3826
- "value": "",
3306
+ "group": "configuration",
3307
+ "type": "Hidden",
3308
+ "value": "={\"Content-Type\":\"application/vnd.github+json\", \"X-GitHub-Api-Version\":\"2022-11-28\"}",
3827
3309
  "binding": {
3828
3310
  "type": "zeebe:input",
3829
- "name": "gitReference"
3311
+ "name": "headers"
3830
3312
  },
3831
3313
  "constraints": {
3832
3314
  "notEmpty": true
3833
- },
3834
- "condition": {
3835
- "property": "eventOperationType",
3836
- "oneOf": ["createWorkflowDispatchEvent"]
3837
3315
  }
3838
3316
  },
3839
3317
  {
3840
- "label": "Workflow ID",
3841
- "description": "The ID of the workflow. You can also pass the workflow file name as a string.",
3842
- "group": "configuration",
3843
- "type": "String",
3844
- "feel": "optional",
3845
- "value": "",
3318
+ "group": "input",
3319
+ "type": "Hidden",
3320
+ "value": "={\"title\": if issueTitle = null then null else issueTitle, \"body\":if githubBody = null then null else githubBody,\"assignees\":if issueAssignees = null then null else issueAssignees,\"milestone\":if issueMilestone = null then null else issueMilestone,\"labels\":if issueLabels = null then null else issueLabels}",
3846
3321
  "binding": {
3847
3322
  "type": "zeebe:input",
3848
- "name": "workflowId"
3849
- },
3850
- "constraints": {
3851
- "notEmpty": true
3323
+ "name": "body"
3852
3324
  },
3853
3325
  "condition": {
3854
- "property": "eventOperationType",
3855
- "oneOf": ["createWorkflowDispatchEvent"]
3856
- }
3326
+ "property": "issueOperationType",
3327
+ "oneOf": ["createIssue", "updateIssue"]
3328
+ },
3329
+ "optional": true
3857
3330
  },
3858
3331
  {
3859
- "label": "Workflow inputs",
3860
- "description": "An object containing up to 10 key-value pairs",
3861
3332
  "group": "input",
3862
- "type": "Text",
3863
- "feel": "required",
3864
- "value": "={}",
3333
+ "type": "Hidden",
3334
+ "value": "={\"tag_name\": tagName, \"body\":if githubBody = null then null else githubBody,\"name\":if name = null then null else name,\"make_latest\":if makeLatest = null then null else makeLatest}",
3865
3335
  "binding": {
3866
3336
  "type": "zeebe:input",
3867
- "name": "workflowInputs"
3337
+ "name": "body"
3868
3338
  },
3869
- "optional": true,
3870
3339
  "condition": {
3871
- "property": "eventOperationType",
3872
- "oneOf": ["createWorkflowDispatchEvent"]
3873
- }
3340
+ "property": "releaseOperationType",
3341
+ "oneOf": ["createRelease", "updateRelease"]
3342
+ },
3343
+ "optional": true
3874
3344
  },
3875
3345
  {
3876
- "label": "Git reference",
3877
- "description": "Name of the fully qualified reference",
3878
3346
  "group": "input",
3879
- "type": "String",
3880
- "feel": "optional",
3881
- "value": "",
3347
+ "type": "Hidden",
3348
+ "value": "={\"name\": if repoName = null then null else repoName, \"description\": if repoDescription = null then null else repoDescription,\"homepage\": if repoHomePage = null then null else repoHomePage,\"visibility\": repoVisibility}",
3882
3349
  "binding": {
3883
3350
  "type": "zeebe:input",
3884
- "name": "gitReference"
3885
- },
3886
- "constraints": {
3887
- "notEmpty": true,
3888
- "pattern": {
3889
- "value": "^(=.+|refs\\/[^\\/]+\\/[^\\/]*)",
3890
- "message": "must be a fully qualified reference (i.e: refs/heads/main) starting with \"refs\" and containing at least two slashes."
3891
- }
3351
+ "name": "body"
3892
3352
  },
3893
3353
  "condition": {
3894
- "property": "referenceOperationType",
3895
- "oneOf": ["createReference"]
3896
- }
3354
+ "property": "reposOperationType",
3355
+ "oneOf": ["createOrganizationRepo", "updateRepo"]
3356
+ },
3357
+ "optional": true
3897
3358
  },
3898
3359
  {
3899
- "label": "SHA",
3900
- "description": "The SHA1 value for this reference",
3901
3360
  "group": "input",
3902
- "type": "String",
3903
- "feel": "optional",
3904
- "value": "",
3361
+ "type": "Hidden",
3362
+ "value": "={\"email\": orgInvitationEmail, \"role\": orgInvitationRole}",
3905
3363
  "binding": {
3906
3364
  "type": "zeebe:input",
3907
- "name": "sha"
3908
- },
3909
- "constraints": {
3910
- "notEmpty": true,
3911
- "minLength": 40,
3912
- "maxLength": 40
3365
+ "name": "body"
3913
3366
  },
3914
3367
  "condition": {
3915
- "property": "referenceOperationType",
3916
- "oneOf": ["createReference"]
3917
- }
3368
+ "property": "reposOperationType",
3369
+ "oneOf": ["orgInvitation"]
3370
+ },
3371
+ "optional": true
3918
3372
  },
3919
3373
  {
3920
- "label": "Title",
3921
- "description": "The title of the new pull request",
3922
3374
  "group": "input",
3923
- "type": "String",
3924
- "feel": "optional",
3925
- "value": "",
3375
+ "type": "Hidden",
3376
+ "value": "={\"type\": repoType, \"sort\": repoSortOrder, \"direction\": repoSortOrder}",
3926
3377
  "binding": {
3927
3378
  "type": "zeebe:input",
3928
- "name": "title"
3929
- },
3930
- "constraints": {
3931
- "notEmpty": true
3379
+ "name": "queryParameters"
3932
3380
  },
3933
3381
  "condition": {
3934
- "property": "pullRequestOperationType",
3935
- "oneOf": ["createPullRequest"]
3382
+ "property": "reposOperationType",
3383
+ "oneOf": ["listOrganizationRepos"]
3936
3384
  }
3937
3385
  },
3938
3386
  {
3939
- "label": "Head",
3940
- "description": "The name of the branch where your changes are implemented",
3941
3387
  "group": "input",
3942
- "type": "String",
3943
- "feel": "optional",
3944
- "value": "",
3388
+ "type": "Hidden",
3389
+ "value": "={\"q\": searchQuery}",
3945
3390
  "binding": {
3946
3391
  "type": "zeebe:input",
3947
- "name": "head"
3948
- },
3949
- "constraints": {
3950
- "notEmpty": true
3392
+ "name": "queryParameters"
3951
3393
  },
3952
3394
  "condition": {
3953
- "property": "pullRequestOperationType",
3954
- "oneOf": ["createPullRequest"]
3395
+ "property": "issueOperationType",
3396
+ "oneOf": ["searchIssues"]
3955
3397
  }
3956
3398
  },
3957
3399
  {
3958
- "label": "Base",
3959
- "description": "The name of the branch you want the changes pulled into",
3960
- "group": "input",
3961
- "type": "String",
3962
- "feel": "optional",
3963
- "value": "",
3964
- "binding": {
3965
- "type": "zeebe:input",
3966
- "name": "base"
3967
- },
3968
- "constraints": {
3969
- "notEmpty": true
3970
- },
3971
- "condition": {
3972
- "property": "pullRequestOperationType",
3973
- "oneOf": ["createPullRequest"]
3974
- }
3975
- },
3976
- {
3977
- "label": "Body",
3978
- "description": "The contents of the pull request",
3979
- "group": "input",
3980
- "type": "String",
3981
- "feel": "optional",
3982
- "value": "",
3983
- "binding": {
3984
- "type": "zeebe:input",
3985
- "name": "prBody"
3986
- },
3987
- "condition": {
3988
- "property": "pullRequestOperationType",
3989
- "oneOf": ["createPullRequest"]
3990
- }
3991
- },
3992
- {
3993
- "label": "Draft",
3994
- "description": "Indicates whether the pull request is a draft",
3995
- "group": "input",
3996
- "type": "Boolean",
3997
- "feel": "optional",
3998
- "value": "=false",
3999
- "binding": {
4000
- "type": "zeebe:input",
4001
- "name": "draft"
4002
- },
4003
- "condition": {
4004
- "property": "pullRequestOperationType",
4005
- "oneOf": ["createPullRequest"]
4006
- }
4007
- },
4008
- {
4009
- "label": "Include anonymous contributors",
4010
- "group": "input",
4011
- "type": "Boolean",
4012
- "feel": "optional",
4013
- "value": "=false",
4014
- "binding": {
4015
- "type": "zeebe:input",
4016
- "name": "anon"
4017
- },
4018
- "condition": {
4019
- "property": "listCollaboratorsOperationType",
4020
- "oneOf": ["listCollaborators"]
4021
- }
4022
- },
4023
- {
4024
- "label": "Page",
4025
- "description": "The page number of the results to fetch",
4026
- "group": "input",
4027
- "type": "Number",
4028
- "feel": "optional",
4029
- "value": "1",
4030
- "binding": {
4031
- "type": "zeebe:input",
4032
- "name": "page"
4033
- },
4034
- "condition": {
4035
- "property": "listCollaboratorsOperationType",
4036
- "oneOf": ["listCollaborators"]
4037
- }
4038
- },
4039
- {
4040
- "label": "Results per page",
4041
- "description": "The number of results to include per page",
4042
- "group": "input",
4043
- "type": "Number",
4044
- "feel": "optional",
4045
- "value": "30",
4046
- "binding": {
4047
- "type": "zeebe:input",
4048
- "name": "per_page"
4049
- },
4050
- "condition": {
4051
- "property": "listCollaboratorsOperationType",
4052
- "oneOf": ["listCollaborators"]
4053
- }
4054
- },
4055
- {
4056
- "group": "configuration",
4057
- "type": "Hidden",
4058
- "value": "={\"Content-Type\":\"application/vnd.github+json\", \"X-GitHub-Api-Version\":\"2022-11-28\"}",
4059
- "binding": {
4060
- "type": "zeebe:input",
4061
- "name": "headers"
4062
- },
4063
- "constraints": {
4064
- "notEmpty": true
4065
- }
4066
- },
4067
- {
4068
- "group": "input",
4069
- "type": "Hidden",
4070
- "value": "={\"title\": if issueTitle = null then null else issueTitle, \"body\":if githubBody = null then null else githubBody,\"assignees\":if issueAssignees = null then null else issueAssignees,\"milestone\":if issueMilestone = null then null else issueMilestone,\"labels\":if issueLabels = null then null else issueLabels}",
4071
- "binding": {
4072
- "type": "zeebe:input",
4073
- "name": "body"
4074
- },
4075
- "condition": {
4076
- "property": "issueOperationType",
4077
- "oneOf": ["createIssue", "updateIssue"]
4078
- },
4079
- "optional": true
4080
- },
4081
- {
4082
- "group": "input",
4083
- "type": "Hidden",
4084
- "value": "={\"body\":if githubBody = null then null else githubBody}",
4085
- "binding": {
4086
- "type": "zeebe:input",
4087
- "name": "body"
4088
- },
4089
- "condition": {
4090
- "property": "issueOperationType",
4091
- "oneOf": ["createIssueComment"]
4092
- },
4093
- "optional": true
4094
- },
4095
- {
4096
- "group": "input",
4097
- "type": "Hidden",
4098
- "value": "={\"tag_name\": tagName, \"body\":if githubBody = null then null else githubBody,\"name\":if name = null then null else name,\"make_latest\":if makeLatest = null then null else makeLatest}",
4099
- "binding": {
4100
- "type": "zeebe:input",
4101
- "name": "body"
4102
- },
4103
- "condition": {
4104
- "property": "releaseOperationType",
4105
- "oneOf": ["createRelease", "updateRelease"]
4106
- },
4107
- "optional": true
4108
- },
4109
- {
4110
- "group": "input",
4111
- "type": "Hidden",
4112
- "value": "={\"name\": if repoName = null then null else repoName, \"description\": if repoDescription = null then null else repoDescription,\"homepage\": if repoHomePage = null then null else repoHomePage,\"visibility\": repoVisibility}",
4113
- "binding": {
4114
- "type": "zeebe:input",
4115
- "name": "body"
4116
- },
4117
- "condition": {
4118
- "property": "reposOperationType",
4119
- "oneOf": ["createOrganizationRepo", "updateRepo"]
4120
- },
4121
- "optional": true
4122
- },
4123
- {
4124
- "group": "input",
4125
- "type": "Hidden",
4126
- "value": "={\"email\": orgInvitationEmail, \"role\": orgInvitationRole}",
4127
- "binding": {
4128
- "type": "zeebe:input",
4129
- "name": "body"
4130
- },
4131
- "condition": {
4132
- "property": "reposOperationType",
4133
- "oneOf": ["orgInvitation"]
4134
- },
4135
- "optional": true
4136
- },
4137
- {
4138
- "group": "input",
4139
- "type": "Hidden",
4140
- "value": "={\"ref\": if gitReference = null then null else gitReference, \"inputs\":workflowInputs}",
4141
- "binding": {
4142
- "type": "zeebe:input",
4143
- "name": "body"
4144
- },
4145
- "condition": {
4146
- "property": "eventOperationType",
4147
- "oneOf": ["createWorkflowDispatchEvent"]
4148
- },
4149
- "optional": true
4150
- },
4151
- {
4152
- "group": "input",
4153
- "type": "Hidden",
4154
- "value": "={\"ref\": if gitReference = null then null else gitReference, \"sha\": if sha = null then null else sha}",
4155
- "binding": {
4156
- "type": "zeebe:input",
4157
- "name": "body"
4158
- },
4159
- "condition": {
4160
- "property": "referenceOperationType",
4161
- "oneOf": ["createReference"]
4162
- },
4163
- "optional": true
4164
- },
4165
- {
4166
- "group": "input",
4167
- "type": "Hidden",
4168
- "value": "={\"title\": if title = null then null else title, \"head\": if head = null then null else head, \"base\": if base = null then null else base, \"body\": if prBody = null then null else prBody, \"draft\": if draft = null then null else draft}",
4169
- "binding": {
4170
- "type": "zeebe:input",
4171
- "name": "body"
4172
- },
4173
- "condition": {
4174
- "property": "pullRequestOperationType",
4175
- "oneOf": ["createPullRequest"]
4176
- },
4177
- "optional": true
4178
- },
4179
- {
4180
- "group": "input",
4181
- "type": "Hidden",
4182
- "value": "={\"type\": repoType, \"sort\": repoSortOrder, \"direction\": repoSortOrder}",
4183
- "binding": {
4184
- "type": "zeebe:input",
4185
- "name": "queryParameters"
4186
- },
4187
- "condition": {
4188
- "property": "reposOperationType",
4189
- "oneOf": ["listOrganizationRepos"]
4190
- }
4191
- },
4192
- {
4193
- "group": "input",
4194
- "type": "Hidden",
4195
- "value": "={\"q\": searchQuery}",
4196
- "binding": {
4197
- "type": "zeebe:input",
4198
- "name": "queryParameters"
4199
- },
4200
- "condition": {
4201
- "property": "issueOperationType",
4202
- "oneOf": ["searchIssues"]
4203
- }
4204
- },
4205
- {
4206
- "group": "input",
4207
- "type": "Hidden",
4208
- "value": "={\"anon\": if anon = null then null else anon, \"per_page\": if per_page = null then null else per_page, \"page\": if page = null then null else page}",
4209
- "binding": {
4210
- "type": "zeebe:input",
4211
- "name": "queryParameters"
4212
- },
4213
- "condition": {
4214
- "property": "listCollaboratorsOperationType",
4215
- "oneOf": ["listCollaborators"]
4216
- }
4217
- },
4218
- {
4219
- "label": "Result variable",
4220
- "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
4221
- "group": "output",
3400
+ "label": "Result variable",
3401
+ "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
3402
+ "group": "output",
4222
3403
  "type": "String",
4223
3404
  "binding": {
4224
3405
  "type": "zeebe:taskHeader",
@@ -4480,57 +3661,6 @@
4480
3661
  "oneOf": ["searchIssues"]
4481
3662
  }
4482
3663
  },
4483
- {
4484
- "label": "Result expression",
4485
- "id": "resultCreateReference",
4486
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
4487
- "group": "output",
4488
- "type": "String",
4489
- "feel": "required",
4490
- "value": "={createdReference: response.body}",
4491
- "binding": {
4492
- "type": "zeebe:taskHeader",
4493
- "key": "resultExpression"
4494
- },
4495
- "condition": {
4496
- "property": "referenceOperationType",
4497
- "oneOf": ["createReference"]
4498
- }
4499
- },
4500
- {
4501
- "label": "Result expression",
4502
- "id": "resultCreatePullRequest",
4503
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
4504
- "group": "output",
4505
- "type": "String",
4506
- "feel": "required",
4507
- "value": "={createdPullRequest: response.body}",
4508
- "binding": {
4509
- "type": "zeebe:taskHeader",
4510
- "key": "resultExpression"
4511
- },
4512
- "condition": {
4513
- "property": "pullRequestOperationType",
4514
- "oneOf": ["createPullRequest"]
4515
- }
4516
- },
4517
- {
4518
- "label": "Result expression",
4519
- "id": "resultExpressionListCollaborators",
4520
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
4521
- "group": "output",
4522
- "type": "String",
4523
- "feel": "required",
4524
- "value": "={collaboratorsList: response.body}",
4525
- "binding": {
4526
- "type": "zeebe:taskHeader",
4527
- "key": "resultExpression"
4528
- },
4529
- "condition": {
4530
- "property": "listCollaboratorsOperationType",
4531
- "oneOf": ["listCollaborators"]
4532
- }
4533
- },
4534
3664
  {
4535
3665
  "label": "Connection timeout",
4536
3666
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
@@ -4546,8 +3676,8 @@
4546
3676
  "constraints": {
4547
3677
  "notEmpty": false,
4548
3678
  "pattern": {
4549
- "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
4550
- "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression."
3679
+ "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
3680
+ "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
4551
3681
  }
4552
3682
  }
4553
3683
  },
@@ -4597,7 +3727,7 @@
4597
3727
  },
4598
3728
  {
4599
3729
  "type": "Hidden",
4600
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"/comments\"",
3730
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"comments\"",
4601
3731
  "binding": {
4602
3732
  "type": "zeebe:input",
4603
3733
  "name": "url"
@@ -4763,54 +3893,6 @@
4763
3893
  "oneOf": ["searchIssues"]
4764
3894
  }
4765
3895
  },
4766
- {
4767
- "type": "Hidden",
4768
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/actions/workflows/\" + workflowId + \"/dispatches\"",
4769
- "binding": {
4770
- "type": "zeebe:input",
4771
- "name": "url"
4772
- },
4773
- "condition": {
4774
- "property": "eventOperationType",
4775
- "oneOf": ["createWorkflowDispatchEvent"]
4776
- }
4777
- },
4778
- {
4779
- "type": "Hidden",
4780
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/git/refs\"",
4781
- "binding": {
4782
- "type": "zeebe:input",
4783
- "name": "url"
4784
- },
4785
- "condition": {
4786
- "property": "referenceOperationType",
4787
- "oneOf": ["createReference"]
4788
- }
4789
- },
4790
- {
4791
- "type": "Hidden",
4792
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/pulls\"",
4793
- "binding": {
4794
- "type": "zeebe:input",
4795
- "name": "url"
4796
- },
4797
- "condition": {
4798
- "property": "pullRequestOperationType",
4799
- "oneOf": ["createPullRequest"]
4800
- }
4801
- },
4802
- {
4803
- "type": "Hidden",
4804
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/collaborators\"",
4805
- "binding": {
4806
- "type": "zeebe:input",
4807
- "name": "url"
4808
- },
4809
- "condition": {
4810
- "property": "listCollaboratorsOperationType",
4811
- "oneOf": ["listCollaborators"]
4812
- }
4813
- },
4814
3896
  {
4815
3897
  "label": "Error expression",
4816
3898
  "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
@@ -4824,14 +3906,14 @@
4824
3906
  }
4825
3907
  ],
4826
3908
  "engines": {
4827
- "camunda": "^8.5"
3909
+ "camunda": "^8.2"
4828
3910
  }
4829
3911
  },
4830
3912
  {
4831
3913
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
4832
3914
  "name": "GitHub Outbound Connector",
4833
3915
  "id": "io.camunda.connectors.GitHub.v1",
4834
- "version": 4,
3916
+ "version": 7,
4835
3917
  "description": "Manage issues, branches, releases, and more",
4836
3918
  "icon": {
4837
3919
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
@@ -4907,6 +3989,22 @@
4907
3989
  {
4908
3990
  "name": "Code scanning",
4909
3991
  "value": "codeScanning"
3992
+ },
3993
+ {
3994
+ "name": "Actions",
3995
+ "value": "actions"
3996
+ },
3997
+ {
3998
+ "name": "References",
3999
+ "value": "references"
4000
+ },
4001
+ {
4002
+ "name": "Pulls",
4003
+ "value": "pulls"
4004
+ },
4005
+ {
4006
+ "name": "Collaborators",
4007
+ "value": "collaborators"
4910
4008
  }
4911
4009
  ],
4912
4010
  "binding": {
@@ -5051,6 +4149,10 @@
5051
4149
  {
5052
4150
  "name": "Create an organization invitation",
5053
4151
  "value": "orgInvitation"
4152
+ },
4153
+ {
4154
+ "name": "Get repository content",
4155
+ "value": "getRepoContent"
5054
4156
  }
5055
4157
  ],
5056
4158
  "condition": {
@@ -5087,6 +4189,90 @@
5087
4189
  "name": "operationType"
5088
4190
  }
5089
4191
  },
4192
+ {
4193
+ "label": "Operation type",
4194
+ "id": "eventOperationType",
4195
+ "group": "operation",
4196
+ "type": "Dropdown",
4197
+ "value": "createWorkflowDispatchEvent",
4198
+ "choices": [
4199
+ {
4200
+ "name": "Create a workflow dispatch event",
4201
+ "value": "createWorkflowDispatchEvent"
4202
+ }
4203
+ ],
4204
+ "condition": {
4205
+ "property": "operationGroup",
4206
+ "oneOf": ["actions"]
4207
+ },
4208
+ "binding": {
4209
+ "type": "zeebe:input",
4210
+ "name": "operationType"
4211
+ }
4212
+ },
4213
+ {
4214
+ "label": "Operation type",
4215
+ "id": "referenceOperationType",
4216
+ "group": "operation",
4217
+ "type": "Dropdown",
4218
+ "value": "createReference",
4219
+ "choices": [
4220
+ {
4221
+ "name": "Create a reference",
4222
+ "value": "createReference"
4223
+ }
4224
+ ],
4225
+ "condition": {
4226
+ "property": "operationGroup",
4227
+ "oneOf": ["references"]
4228
+ },
4229
+ "binding": {
4230
+ "type": "zeebe:input",
4231
+ "name": "operationType"
4232
+ }
4233
+ },
4234
+ {
4235
+ "label": "Operation type",
4236
+ "id": "pullRequestOperationType",
4237
+ "group": "operation",
4238
+ "type": "Dropdown",
4239
+ "value": "createPullRequest",
4240
+ "choices": [
4241
+ {
4242
+ "name": "Create a pull request",
4243
+ "value": "createPullRequest"
4244
+ }
4245
+ ],
4246
+ "condition": {
4247
+ "property": "operationGroup",
4248
+ "oneOf": ["pulls"]
4249
+ },
4250
+ "binding": {
4251
+ "type": "zeebe:input",
4252
+ "name": "operationType"
4253
+ }
4254
+ },
4255
+ {
4256
+ "label": "Operation type",
4257
+ "id": "listCollaboratorsOperationType",
4258
+ "group": "operation",
4259
+ "type": "Dropdown",
4260
+ "value": "listCollaborators",
4261
+ "choices": [
4262
+ {
4263
+ "name": "List repository collaborators",
4264
+ "value": "listCollaborators"
4265
+ }
4266
+ ],
4267
+ "condition": {
4268
+ "property": "operationGroup",
4269
+ "oneOf": ["collaborators"]
4270
+ },
4271
+ "binding": {
4272
+ "type": "zeebe:input",
4273
+ "name": "operationType"
4274
+ }
4275
+ },
5090
4276
  {
5091
4277
  "type": "Hidden",
5092
4278
  "label": "Type",
@@ -5116,6 +4302,34 @@
5116
4302
  "equals": "bearer"
5117
4303
  }
5118
4304
  },
4305
+ {
4306
+ "id": "refMethodPost",
4307
+ "group": "configuration",
4308
+ "type": "Hidden",
4309
+ "value": "post",
4310
+ "binding": {
4311
+ "type": "zeebe:input",
4312
+ "name": "method"
4313
+ },
4314
+ "condition": {
4315
+ "property": "referenceOperationType",
4316
+ "oneOf": ["createReference"]
4317
+ }
4318
+ },
4319
+ {
4320
+ "id": "eventMethodPost",
4321
+ "group": "configuration",
4322
+ "type": "Hidden",
4323
+ "value": "post",
4324
+ "binding": {
4325
+ "type": "zeebe:input",
4326
+ "name": "method"
4327
+ },
4328
+ "condition": {
4329
+ "property": "eventOperationType",
4330
+ "oneOf": ["createWorkflowDispatchEvent"]
4331
+ }
4332
+ },
5119
4333
  {
5120
4334
  "id": "reposMethodPost",
5121
4335
  "group": "configuration",
@@ -5172,6 +4386,20 @@
5172
4386
  "oneOf": ["createIssue", "createIssueComment"]
5173
4387
  }
5174
4388
  },
4389
+ {
4390
+ "id": "pullRequestMethodPost",
4391
+ "group": "configuration",
4392
+ "type": "Hidden",
4393
+ "value": "post",
4394
+ "binding": {
4395
+ "type": "zeebe:input",
4396
+ "name": "method"
4397
+ },
4398
+ "condition": {
4399
+ "property": "pullRequestOperationType",
4400
+ "oneOf": ["createPullRequest"]
4401
+ }
4402
+ },
5175
4403
  {
5176
4404
  "id": "reposMethodPatch",
5177
4405
  "group": "configuration",
@@ -5215,7 +4443,7 @@
5215
4443
  }
5216
4444
  },
5217
4445
  {
5218
- "id": "reposMethodDelete",
4446
+ "id": "repoMethodDelete",
5219
4447
  "group": "configuration",
5220
4448
  "type": "Hidden",
5221
4449
  "value": "delete",
@@ -5243,7 +4471,21 @@
5243
4471
  }
5244
4472
  },
5245
4473
  {
5246
- "id": "listAlertsMethodGet",
4474
+ "id": "listMethodGet",
4475
+ "group": "configuration",
4476
+ "type": "Hidden",
4477
+ "value": "get",
4478
+ "binding": {
4479
+ "type": "zeebe:input",
4480
+ "name": "method"
4481
+ },
4482
+ "condition": {
4483
+ "property": "listCollaboratorsOperationType",
4484
+ "oneOf": ["listCollaborators"]
4485
+ }
4486
+ },
4487
+ {
4488
+ "id": "alertsMethodGet",
5247
4489
  "group": "configuration",
5248
4490
  "type": "Hidden",
5249
4491
  "value": "get",
@@ -5267,7 +4509,12 @@
5267
4509
  },
5268
4510
  "condition": {
5269
4511
  "property": "reposOperationType",
5270
- "oneOf": ["listOrganizationRepos", "getRepo", "listRepoContributors"]
4512
+ "oneOf": [
4513
+ "listOrganizationRepos",
4514
+ "getRepo",
4515
+ "listRepoContributors",
4516
+ "getRepoContent"
4517
+ ]
5271
4518
  }
5272
4519
  },
5273
4520
  {
@@ -5312,6 +4559,63 @@
5312
4559
  "oneOf": ["searchIssues", "getIssue", "listCommits"]
5313
4560
  }
5314
4561
  },
4562
+ {
4563
+ "label": "Owner",
4564
+ "description": "Repository owner",
4565
+ "group": "configuration",
4566
+ "type": "String",
4567
+ "feel": "optional",
4568
+ "value": "",
4569
+ "binding": {
4570
+ "type": "zeebe:input",
4571
+ "name": "owner"
4572
+ },
4573
+ "constraints": {
4574
+ "notEmpty": true
4575
+ },
4576
+ "condition": {
4577
+ "property": "listCollaboratorsOperationType",
4578
+ "oneOf": ["listCollaborators"]
4579
+ }
4580
+ },
4581
+ {
4582
+ "label": "Owner",
4583
+ "description": "Repository owner",
4584
+ "group": "configuration",
4585
+ "type": "String",
4586
+ "feel": "optional",
4587
+ "value": "",
4588
+ "binding": {
4589
+ "type": "zeebe:input",
4590
+ "name": "owner"
4591
+ },
4592
+ "constraints": {
4593
+ "notEmpty": true
4594
+ },
4595
+ "condition": {
4596
+ "property": "referenceOperationType",
4597
+ "oneOf": ["createReference"]
4598
+ }
4599
+ },
4600
+ {
4601
+ "label": "Owner",
4602
+ "description": "Repository owner",
4603
+ "group": "configuration",
4604
+ "type": "String",
4605
+ "feel": "optional",
4606
+ "value": "",
4607
+ "binding": {
4608
+ "type": "zeebe:input",
4609
+ "name": "owner"
4610
+ },
4611
+ "constraints": {
4612
+ "notEmpty": true
4613
+ },
4614
+ "condition": {
4615
+ "property": "eventOperationType",
4616
+ "oneOf": ["createWorkflowDispatchEvent"]
4617
+ }
4618
+ },
5315
4619
  {
5316
4620
  "label": "Owner",
5317
4621
  "description": "Repository owner",
@@ -5351,7 +4655,8 @@
5351
4655
  "getRepo",
5352
4656
  "deleteRepo",
5353
4657
  "updateRepo",
5354
- "listRepoContributors"
4658
+ "listRepoContributors",
4659
+ "getRepoContent"
5355
4660
  ]
5356
4661
  }
5357
4662
  },
@@ -5423,6 +4728,82 @@
5423
4728
  ]
5424
4729
  }
5425
4730
  },
4731
+ {
4732
+ "label": "Owner",
4733
+ "description": "Repository owner",
4734
+ "group": "configuration",
4735
+ "type": "String",
4736
+ "feel": "optional",
4737
+ "value": "",
4738
+ "binding": {
4739
+ "type": "zeebe:input",
4740
+ "name": "owner"
4741
+ },
4742
+ "constraints": {
4743
+ "notEmpty": true
4744
+ },
4745
+ "condition": {
4746
+ "property": "pullRequestOperationType",
4747
+ "oneOf": ["createPullRequest"]
4748
+ }
4749
+ },
4750
+ {
4751
+ "label": "Repository",
4752
+ "description": "Name of the repository",
4753
+ "group": "configuration",
4754
+ "type": "String",
4755
+ "feel": "optional",
4756
+ "value": "",
4757
+ "binding": {
4758
+ "type": "zeebe:input",
4759
+ "name": "repo"
4760
+ },
4761
+ "constraints": {
4762
+ "notEmpty": true
4763
+ },
4764
+ "condition": {
4765
+ "property": "listCollaboratorsOperationType",
4766
+ "oneOf": ["listCollaborators"]
4767
+ }
4768
+ },
4769
+ {
4770
+ "label": "Repository",
4771
+ "description": "Name of the repository",
4772
+ "group": "configuration",
4773
+ "type": "String",
4774
+ "feel": "optional",
4775
+ "value": "",
4776
+ "binding": {
4777
+ "type": "zeebe:input",
4778
+ "name": "repo"
4779
+ },
4780
+ "constraints": {
4781
+ "notEmpty": true
4782
+ },
4783
+ "condition": {
4784
+ "property": "referenceOperationType",
4785
+ "oneOf": ["createReference"]
4786
+ }
4787
+ },
4788
+ {
4789
+ "label": "Repository",
4790
+ "description": "Name of the repository",
4791
+ "group": "configuration",
4792
+ "type": "String",
4793
+ "feel": "optional",
4794
+ "value": "",
4795
+ "binding": {
4796
+ "type": "zeebe:input",
4797
+ "name": "repo"
4798
+ },
4799
+ "constraints": {
4800
+ "notEmpty": true
4801
+ },
4802
+ "condition": {
4803
+ "property": "eventOperationType",
4804
+ "oneOf": ["createWorkflowDispatchEvent"]
4805
+ }
4806
+ },
5426
4807
  {
5427
4808
  "label": "Repository",
5428
4809
  "description": "Name of the repository",
@@ -5462,7 +4843,8 @@
5462
4843
  "getRepo",
5463
4844
  "deleteRepo",
5464
4845
  "updateRepo",
5465
- "listRepoContributors"
4846
+ "listRepoContributors",
4847
+ "getRepoContent"
5466
4848
  ]
5467
4849
  }
5468
4850
  },
@@ -5534,6 +4916,25 @@
5534
4916
  ]
5535
4917
  }
5536
4918
  },
4919
+ {
4920
+ "label": "Repository",
4921
+ "description": "Name of the repository",
4922
+ "group": "configuration",
4923
+ "type": "String",
4924
+ "feel": "optional",
4925
+ "value": "",
4926
+ "binding": {
4927
+ "type": "zeebe:input",
4928
+ "name": "repo"
4929
+ },
4930
+ "constraints": {
4931
+ "notEmpty": true
4932
+ },
4933
+ "condition": {
4934
+ "property": "pullRequestOperationType",
4935
+ "oneOf": ["createPullRequest"]
4936
+ }
4937
+ },
5537
4938
  {
5538
4939
  "label": "Issue number",
5539
4940
  "description": "The number that identifies the issue",
@@ -6142,55 +5543,328 @@
6142
5543
  "description": "The open or closed state of the issue",
6143
5544
  "id": "issueState",
6144
5545
  "group": "input",
6145
- "type": "Dropdown",
6146
- "value": "open",
6147
- "choices": [
6148
- {
6149
- "name": "Open",
6150
- "value": "open"
6151
- },
6152
- {
6153
- "name": "Closed",
6154
- "value": "closed"
6155
- }
6156
- ],
5546
+ "type": "Dropdown",
5547
+ "value": "open",
5548
+ "choices": [
5549
+ {
5550
+ "name": "Open",
5551
+ "value": "open"
5552
+ },
5553
+ {
5554
+ "name": "Closed",
5555
+ "value": "closed"
5556
+ }
5557
+ ],
5558
+ "binding": {
5559
+ "type": "zeebe:input",
5560
+ "name": "issueState"
5561
+ },
5562
+ "condition": {
5563
+ "property": "issueOperationType",
5564
+ "oneOf": ["updateIssue"]
5565
+ }
5566
+ },
5567
+ {
5568
+ "label": "State reason",
5569
+ "description": "The reason for the state change. Ignored unless state is changed",
5570
+ "id": "issueStateReason",
5571
+ "group": "input",
5572
+ "type": "Dropdown",
5573
+ "value": "completed",
5574
+ "choices": [
5575
+ {
5576
+ "name": "Completed",
5577
+ "value": "completed"
5578
+ },
5579
+ {
5580
+ "name": "Not planned",
5581
+ "value": "not_planned"
5582
+ },
5583
+ {
5584
+ "name": "Reopened",
5585
+ "value": "reopened"
5586
+ }
5587
+ ],
5588
+ "binding": {
5589
+ "type": "zeebe:input",
5590
+ "name": "issueStateReason"
5591
+ },
5592
+ "condition": {
5593
+ "property": "issueOperationType",
5594
+ "oneOf": ["updateIssue"]
5595
+ }
5596
+ },
5597
+ {
5598
+ "label": "Git reference",
5599
+ "description": "Branch or tag name for the workflow",
5600
+ "group": "input",
5601
+ "type": "String",
5602
+ "feel": "optional",
5603
+ "value": "",
5604
+ "binding": {
5605
+ "type": "zeebe:input",
5606
+ "name": "gitReference"
5607
+ },
5608
+ "constraints": {
5609
+ "notEmpty": true
5610
+ },
5611
+ "condition": {
5612
+ "property": "eventOperationType",
5613
+ "oneOf": ["createWorkflowDispatchEvent"]
5614
+ }
5615
+ },
5616
+ {
5617
+ "label": "Workflow ID",
5618
+ "description": "The ID of the workflow. You can also pass the workflow file name as a string.",
5619
+ "group": "configuration",
5620
+ "type": "String",
5621
+ "feel": "optional",
5622
+ "value": "",
5623
+ "binding": {
5624
+ "type": "zeebe:input",
5625
+ "name": "workflowId"
5626
+ },
5627
+ "constraints": {
5628
+ "notEmpty": true
5629
+ },
5630
+ "condition": {
5631
+ "property": "eventOperationType",
5632
+ "oneOf": ["createWorkflowDispatchEvent"]
5633
+ }
5634
+ },
5635
+ {
5636
+ "label": "Workflow inputs",
5637
+ "description": "An object containing up to 10 key-value pairs",
5638
+ "group": "input",
5639
+ "type": "Text",
5640
+ "feel": "required",
5641
+ "value": "={}",
5642
+ "binding": {
5643
+ "type": "zeebe:input",
5644
+ "name": "workflowInputs"
5645
+ },
5646
+ "optional": true,
5647
+ "condition": {
5648
+ "property": "eventOperationType",
5649
+ "oneOf": ["createWorkflowDispatchEvent"]
5650
+ }
5651
+ },
5652
+ {
5653
+ "label": "Git reference",
5654
+ "description": "Name of the fully qualified reference",
5655
+ "group": "input",
5656
+ "type": "String",
5657
+ "feel": "optional",
5658
+ "value": "",
5659
+ "binding": {
5660
+ "type": "zeebe:input",
5661
+ "name": "gitReference"
5662
+ },
5663
+ "constraints": {
5664
+ "notEmpty": true,
5665
+ "pattern": {
5666
+ "value": "^(=.+|refs\\/[^\\/]+\\/[^\\/]*)",
5667
+ "message": "must be a fully qualified reference (i.e: refs/heads/main) starting with \"refs\" and containing at least two slashes."
5668
+ }
5669
+ },
5670
+ "condition": {
5671
+ "property": "referenceOperationType",
5672
+ "oneOf": ["createReference"]
5673
+ }
5674
+ },
5675
+ {
5676
+ "label": "SHA",
5677
+ "description": "The SHA1 value for this reference",
5678
+ "group": "input",
5679
+ "type": "String",
5680
+ "feel": "optional",
5681
+ "value": "",
5682
+ "binding": {
5683
+ "type": "zeebe:input",
5684
+ "name": "sha"
5685
+ },
5686
+ "constraints": {
5687
+ "notEmpty": true,
5688
+ "pattern": {
5689
+ "value": "^(=.+|.{40})",
5690
+ "message": "must consist of 40 characters."
5691
+ }
5692
+ },
5693
+ "condition": {
5694
+ "property": "referenceOperationType",
5695
+ "oneOf": ["createReference"]
5696
+ }
5697
+ },
5698
+ {
5699
+ "label": "Title",
5700
+ "description": "The title of the new pull request",
5701
+ "group": "input",
5702
+ "type": "String",
5703
+ "feel": "optional",
5704
+ "value": "",
5705
+ "binding": {
5706
+ "type": "zeebe:input",
5707
+ "name": "title"
5708
+ },
5709
+ "constraints": {
5710
+ "notEmpty": true
5711
+ },
5712
+ "condition": {
5713
+ "property": "pullRequestOperationType",
5714
+ "oneOf": ["createPullRequest"]
5715
+ }
5716
+ },
5717
+ {
5718
+ "label": "Head",
5719
+ "description": "The name of the branch where your changes are implemented",
5720
+ "group": "input",
5721
+ "type": "String",
5722
+ "feel": "optional",
5723
+ "value": "",
5724
+ "binding": {
5725
+ "type": "zeebe:input",
5726
+ "name": "head"
5727
+ },
5728
+ "constraints": {
5729
+ "notEmpty": true
5730
+ },
5731
+ "condition": {
5732
+ "property": "pullRequestOperationType",
5733
+ "oneOf": ["createPullRequest"]
5734
+ }
5735
+ },
5736
+ {
5737
+ "label": "Base",
5738
+ "description": "The name of the branch you want the changes pulled into",
5739
+ "group": "input",
5740
+ "type": "String",
5741
+ "feel": "optional",
5742
+ "value": "",
5743
+ "binding": {
5744
+ "type": "zeebe:input",
5745
+ "name": "base"
5746
+ },
5747
+ "constraints": {
5748
+ "notEmpty": true
5749
+ },
5750
+ "condition": {
5751
+ "property": "pullRequestOperationType",
5752
+ "oneOf": ["createPullRequest"]
5753
+ }
5754
+ },
5755
+ {
5756
+ "label": "Body",
5757
+ "description": "The contents of the pull request",
5758
+ "group": "input",
5759
+ "type": "Text",
5760
+ "feel": "optional",
5761
+ "value": "",
5762
+ "binding": {
5763
+ "type": "zeebe:input",
5764
+ "name": "prBody"
5765
+ },
5766
+ "condition": {
5767
+ "property": "pullRequestOperationType",
5768
+ "oneOf": ["createPullRequest"]
5769
+ }
5770
+ },
5771
+ {
5772
+ "label": "Draft",
5773
+ "description": "Indicates whether the pull request is a draft",
5774
+ "group": "input",
5775
+ "type": "Boolean",
5776
+ "feel": "optional",
5777
+ "value": "=false",
5778
+ "binding": {
5779
+ "type": "zeebe:input",
5780
+ "name": "draft"
5781
+ },
5782
+ "condition": {
5783
+ "property": "pullRequestOperationType",
5784
+ "oneOf": ["createPullRequest"]
5785
+ }
5786
+ },
5787
+ {
5788
+ "label": "Include anonymous contributors",
5789
+ "group": "input",
5790
+ "type": "Boolean",
5791
+ "feel": "optional",
5792
+ "value": "=false",
5793
+ "binding": {
5794
+ "type": "zeebe:input",
5795
+ "name": "anon"
5796
+ },
5797
+ "condition": {
5798
+ "property": "listCollaboratorsOperationType",
5799
+ "oneOf": ["listCollaborators"]
5800
+ }
5801
+ },
5802
+ {
5803
+ "label": "Page",
5804
+ "description": "The page number of the results to fetch",
5805
+ "group": "input",
5806
+ "type": "Number",
5807
+ "feel": "optional",
5808
+ "value": "1",
5809
+ "binding": {
5810
+ "type": "zeebe:input",
5811
+ "name": "page"
5812
+ },
5813
+ "condition": {
5814
+ "property": "listCollaboratorsOperationType",
5815
+ "oneOf": ["listCollaborators"]
5816
+ }
5817
+ },
5818
+ {
5819
+ "label": "Results per page",
5820
+ "description": "The number of results to include per page",
5821
+ "group": "input",
5822
+ "type": "Number",
5823
+ "feel": "optional",
5824
+ "value": "30",
5825
+ "binding": {
5826
+ "type": "zeebe:input",
5827
+ "name": "per_page"
5828
+ },
5829
+ "condition": {
5830
+ "property": "listCollaboratorsOperationType",
5831
+ "oneOf": ["listCollaborators"]
5832
+ }
5833
+ },
5834
+ {
5835
+ "label": "Path",
5836
+ "description": "The path of the content within the repository",
5837
+ "group": "input",
5838
+ "type": "String",
5839
+ "feel": "optional",
5840
+ "value": "",
6157
5841
  "binding": {
6158
5842
  "type": "zeebe:input",
6159
- "name": "issueState"
5843
+ "name": "contentPath"
5844
+ },
5845
+ "constraints": {
5846
+ "notEmpty": true
6160
5847
  },
6161
5848
  "condition": {
6162
- "property": "issueOperationType",
6163
- "oneOf": ["updateIssue"]
5849
+ "property": "reposOperationType",
5850
+ "oneOf": ["getRepoContent"]
6164
5851
  }
6165
5852
  },
6166
5853
  {
6167
- "label": "State reason",
6168
- "description": "The reason for the state change. Ignored unless state is changed",
6169
- "id": "issueStateReason",
5854
+ "label": "Ref",
5855
+ "description": "The name of the commit/branch/tag. Default: the repository's main branch",
6170
5856
  "group": "input",
6171
- "type": "Dropdown",
6172
- "value": "completed",
6173
- "choices": [
6174
- {
6175
- "name": "Completed",
6176
- "value": "completed"
6177
- },
6178
- {
6179
- "name": "Not planned",
6180
- "value": "not_planned"
6181
- },
6182
- {
6183
- "name": "Reopened",
6184
- "value": "reopened"
6185
- }
6186
- ],
5857
+ "type": "String",
5858
+ "feel": "optional",
5859
+ "value": "",
6187
5860
  "binding": {
6188
5861
  "type": "zeebe:input",
6189
- "name": "issueStateReason"
5862
+ "name": "ref"
6190
5863
  },
5864
+ "optional": true,
6191
5865
  "condition": {
6192
- "property": "issueOperationType",
6193
- "oneOf": ["updateIssue"]
5866
+ "property": "reposOperationType",
5867
+ "oneOf": ["getRepoContent"]
6194
5868
  }
6195
5869
  },
6196
5870
  {
@@ -6275,6 +5949,48 @@
6275
5949
  },
6276
5950
  "optional": true
6277
5951
  },
5952
+ {
5953
+ "group": "input",
5954
+ "type": "Hidden",
5955
+ "value": "={\"ref\": if gitReference = null then null else gitReference, \"inputs\":workflowInputs}",
5956
+ "binding": {
5957
+ "type": "zeebe:input",
5958
+ "name": "body"
5959
+ },
5960
+ "condition": {
5961
+ "property": "eventOperationType",
5962
+ "oneOf": ["createWorkflowDispatchEvent"]
5963
+ },
5964
+ "optional": true
5965
+ },
5966
+ {
5967
+ "group": "input",
5968
+ "type": "Hidden",
5969
+ "value": "={\"ref\": if gitReference = null then null else gitReference, \"sha\": if sha = null then null else sha}",
5970
+ "binding": {
5971
+ "type": "zeebe:input",
5972
+ "name": "body"
5973
+ },
5974
+ "condition": {
5975
+ "property": "referenceOperationType",
5976
+ "oneOf": ["createReference"]
5977
+ },
5978
+ "optional": true
5979
+ },
5980
+ {
5981
+ "group": "input",
5982
+ "type": "Hidden",
5983
+ "value": "={\"title\": if title = null then null else title, \"head\": if head = null then null else head, \"base\": if base = null then null else base, \"body\": if prBody = null then null else prBody, \"draft\": if draft = null then null else draft}",
5984
+ "binding": {
5985
+ "type": "zeebe:input",
5986
+ "name": "body"
5987
+ },
5988
+ "condition": {
5989
+ "property": "pullRequestOperationType",
5990
+ "oneOf": ["createPullRequest"]
5991
+ },
5992
+ "optional": true
5993
+ },
6278
5994
  {
6279
5995
  "group": "input",
6280
5996
  "type": "Hidden",
@@ -6301,6 +6017,32 @@
6301
6017
  "oneOf": ["searchIssues"]
6302
6018
  }
6303
6019
  },
6020
+ {
6021
+ "group": "input",
6022
+ "type": "Hidden",
6023
+ "value": "={\"anon\": if anon = null then null else anon, \"per_page\": if per_page = null then null else per_page, \"page\": if page = null then null else page}",
6024
+ "binding": {
6025
+ "type": "zeebe:input",
6026
+ "name": "queryParameters"
6027
+ },
6028
+ "condition": {
6029
+ "property": "listCollaboratorsOperationType",
6030
+ "oneOf": ["listCollaborators"]
6031
+ }
6032
+ },
6033
+ {
6034
+ "group": "input",
6035
+ "type": "Hidden",
6036
+ "value": "={\"ref\": if ref = null then null else ref}",
6037
+ "binding": {
6038
+ "type": "zeebe:input",
6039
+ "name": "queryParameters"
6040
+ },
6041
+ "condition": {
6042
+ "property": "reposOperationType",
6043
+ "oneOf": ["getRepoContent"]
6044
+ }
6045
+ },
6304
6046
  {
6305
6047
  "label": "Result variable",
6306
6048
  "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
@@ -6566,6 +6308,74 @@
6566
6308
  "oneOf": ["searchIssues"]
6567
6309
  }
6568
6310
  },
6311
+ {
6312
+ "label": "Result expression",
6313
+ "id": "resultCreateReference",
6314
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
6315
+ "group": "output",
6316
+ "type": "String",
6317
+ "feel": "required",
6318
+ "value": "={createdReference: response.body}",
6319
+ "binding": {
6320
+ "type": "zeebe:taskHeader",
6321
+ "key": "resultExpression"
6322
+ },
6323
+ "condition": {
6324
+ "property": "referenceOperationType",
6325
+ "oneOf": ["createReference"]
6326
+ }
6327
+ },
6328
+ {
6329
+ "label": "Result expression",
6330
+ "id": "resultCreatePullRequest",
6331
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
6332
+ "group": "output",
6333
+ "type": "String",
6334
+ "feel": "required",
6335
+ "value": "={createdPullRequest: response.body}",
6336
+ "binding": {
6337
+ "type": "zeebe:taskHeader",
6338
+ "key": "resultExpression"
6339
+ },
6340
+ "condition": {
6341
+ "property": "pullRequestOperationType",
6342
+ "oneOf": ["createPullRequest"]
6343
+ }
6344
+ },
6345
+ {
6346
+ "label": "Result expression",
6347
+ "id": "resultExpressionListCollaborators",
6348
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
6349
+ "group": "output",
6350
+ "type": "String",
6351
+ "feel": "required",
6352
+ "value": "={collaboratorsList: response.body}",
6353
+ "binding": {
6354
+ "type": "zeebe:taskHeader",
6355
+ "key": "resultExpression"
6356
+ },
6357
+ "condition": {
6358
+ "property": "listCollaboratorsOperationType",
6359
+ "oneOf": ["listCollaborators"]
6360
+ }
6361
+ },
6362
+ {
6363
+ "label": "Result expression",
6364
+ "id": "resultExpressionGetContent",
6365
+ "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
6366
+ "group": "output",
6367
+ "type": "String",
6368
+ "feel": "required",
6369
+ "value": "={repositoryContent: response.body}",
6370
+ "binding": {
6371
+ "type": "zeebe:taskHeader",
6372
+ "key": "resultExpression"
6373
+ },
6374
+ "condition": {
6375
+ "property": "reposOperationType",
6376
+ "oneOf": ["getRepoContent"]
6377
+ }
6378
+ },
6569
6379
  {
6570
6380
  "label": "Connection timeout",
6571
6381
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
@@ -6582,7 +6392,7 @@
6582
6392
  "notEmpty": false,
6583
6393
  "pattern": {
6584
6394
  "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
6585
- "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
6395
+ "message": "must be a timeout in seconds (default value is 20 seconds) or a FEEL expression."
6586
6396
  }
6587
6397
  }
6588
6398
  },
@@ -6716,91 +6526,151 @@
6716
6526
  },
6717
6527
  {
6718
6528
  "type": "Hidden",
6719
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo",
6529
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo",
6530
+ "binding": {
6531
+ "type": "zeebe:input",
6532
+ "name": "url"
6533
+ },
6534
+ "condition": {
6535
+ "property": "reposOperationType",
6536
+ "oneOf": ["getRepo", "updateRepo", "deleteRepo"]
6537
+ }
6538
+ },
6539
+ {
6540
+ "type": "Hidden",
6541
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/contributors\"",
6542
+ "binding": {
6543
+ "type": "zeebe:input",
6544
+ "name": "url"
6545
+ },
6546
+ "condition": {
6547
+ "property": "reposOperationType",
6548
+ "oneOf": ["listRepoContributors"]
6549
+ }
6550
+ },
6551
+ {
6552
+ "type": "Hidden",
6553
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/code-scanning/alerts\"",
6554
+ "binding": {
6555
+ "type": "zeebe:input",
6556
+ "name": "url"
6557
+ },
6558
+ "condition": {
6559
+ "property": "listAlertsOperationType",
6560
+ "oneOf": ["listAlertsForRepo"]
6561
+ }
6562
+ },
6563
+ {
6564
+ "type": "Hidden",
6565
+ "value": "=baseUrl + \"/orgs/\" + orgName + \"/code-scanning/alerts\"",
6566
+ "binding": {
6567
+ "type": "zeebe:input",
6568
+ "name": "url"
6569
+ },
6570
+ "condition": {
6571
+ "property": "reposOperationType",
6572
+ "oneOf": ["listOrganizationRepos", "createOrganizationRepo"]
6573
+ }
6574
+ },
6575
+ {
6576
+ "type": "Hidden",
6577
+ "value": "=baseUrl + \"/orgs/\" + orgName + \"/repos\"",
6578
+ "binding": {
6579
+ "type": "zeebe:input",
6580
+ "name": "url"
6581
+ },
6582
+ "condition": {
6583
+ "property": "reposOperationType",
6584
+ "oneOf": ["listOrganizationRepos", "createOrganizationRepo"]
6585
+ }
6586
+ },
6587
+ {
6588
+ "type": "Hidden",
6589
+ "value": "=baseUrl + \"/orgs/\" + orgName + \"/invitations\"",
6720
6590
  "binding": {
6721
6591
  "type": "zeebe:input",
6722
6592
  "name": "url"
6723
6593
  },
6724
6594
  "condition": {
6725
6595
  "property": "reposOperationType",
6726
- "oneOf": ["getRepo", "updateRepo", "deleteRepo"]
6596
+ "oneOf": ["orgInvitation"]
6727
6597
  }
6728
6598
  },
6729
6599
  {
6730
6600
  "type": "Hidden",
6731
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/contributors\"",
6601
+ "value": "=baseUrl + \"/search/issues\"",
6732
6602
  "binding": {
6733
6603
  "type": "zeebe:input",
6734
6604
  "name": "url"
6735
6605
  },
6736
6606
  "condition": {
6737
- "property": "reposOperationType",
6738
- "oneOf": ["listRepoContributors"]
6607
+ "property": "issueOperationType",
6608
+ "oneOf": ["searchIssues"]
6739
6609
  }
6740
6610
  },
6741
6611
  {
6742
6612
  "type": "Hidden",
6743
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/code-scanning/alerts\"",
6613
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/actions/workflows/\" + workflowId + \"/dispatches\"",
6744
6614
  "binding": {
6745
6615
  "type": "zeebe:input",
6746
6616
  "name": "url"
6747
6617
  },
6748
6618
  "condition": {
6749
- "property": "listAlertsOperationType",
6750
- "oneOf": ["listAlertsForRepo"]
6619
+ "property": "eventOperationType",
6620
+ "oneOf": ["createWorkflowDispatchEvent"]
6751
6621
  }
6752
6622
  },
6753
6623
  {
6754
6624
  "type": "Hidden",
6755
- "value": "=baseUrl + \"/orgs/\" + orgName + \"/code-scanning/alerts\"",
6625
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/git/refs\"",
6756
6626
  "binding": {
6757
6627
  "type": "zeebe:input",
6758
6628
  "name": "url"
6759
6629
  },
6760
6630
  "condition": {
6761
- "property": "reposOperationType",
6762
- "oneOf": ["listOrganizationRepos", "createOrganizationRepo"]
6631
+ "property": "referenceOperationType",
6632
+ "oneOf": ["createReference"]
6763
6633
  }
6764
6634
  },
6765
6635
  {
6766
6636
  "type": "Hidden",
6767
- "value": "=baseUrl + \"/orgs/\" + orgName + \"/repos\"",
6637
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/pulls\"",
6768
6638
  "binding": {
6769
6639
  "type": "zeebe:input",
6770
6640
  "name": "url"
6771
6641
  },
6772
6642
  "condition": {
6773
- "property": "reposOperationType",
6774
- "oneOf": ["listOrganizationRepos", "createOrganizationRepo"]
6643
+ "property": "pullRequestOperationType",
6644
+ "oneOf": ["createPullRequest"]
6775
6645
  }
6776
6646
  },
6777
6647
  {
6778
6648
  "type": "Hidden",
6779
- "value": "=baseUrl + \"/orgs/\" + orgName + \"/invitations\"",
6649
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/collaborators\"",
6780
6650
  "binding": {
6781
6651
  "type": "zeebe:input",
6782
6652
  "name": "url"
6783
6653
  },
6784
6654
  "condition": {
6785
- "property": "reposOperationType",
6786
- "oneOf": ["orgInvitation"]
6655
+ "property": "listCollaboratorsOperationType",
6656
+ "oneOf": ["listCollaborators"]
6787
6657
  }
6788
6658
  },
6789
6659
  {
6790
6660
  "type": "Hidden",
6791
- "value": "=baseUrl + \"/search/issues\"",
6661
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/contents/\" + contentPath",
6792
6662
  "binding": {
6793
6663
  "type": "zeebe:input",
6794
6664
  "name": "url"
6795
6665
  },
6796
6666
  "condition": {
6797
- "property": "issueOperationType",
6798
- "oneOf": ["searchIssues"]
6667
+ "property": "reposOperationType",
6668
+ "oneOf": ["getRepoContent"]
6799
6669
  }
6800
6670
  },
6801
6671
  {
6802
6672
  "label": "Error expression",
6803
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
6673
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
6804
6674
  "group": "errors",
6805
6675
  "type": "Text",
6806
6676
  "feel": "required",
@@ -6811,19 +6681,19 @@
6811
6681
  }
6812
6682
  ],
6813
6683
  "engines": {
6814
- "camunda": "^8.4"
6684
+ "camunda": "^8.5"
6815
6685
  }
6816
6686
  },
6817
6687
  {
6818
6688
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
6819
6689
  "name": "GitHub Outbound Connector",
6820
6690
  "id": "io.camunda.connectors.GitHub.v1",
6821
- "version": 3,
6691
+ "version": 4,
6822
6692
  "description": "Manage issues, branches, releases, and more",
6823
6693
  "icon": {
6824
6694
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
6825
6695
  },
6826
- "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/github/",
6696
+ "documentationRef": "https://docs.camunda.io/docs/components/connectors/out-of-the-box-connectors/github/?github=outbound",
6827
6697
  "category": {
6828
6698
  "id": "connectors",
6829
6699
  "name": "Connectors"
@@ -7611,10 +7481,10 @@
7611
7481
  },
7612
7482
  {
7613
7483
  "label": "Body",
7614
- "description": "The contents of the issue or release or comment",
7484
+ "description": "The contents of the issue or release",
7615
7485
  "feel": "optional",
7616
7486
  "group": "input",
7617
- "type": "String",
7487
+ "type": "Text",
7618
7488
  "binding": {
7619
7489
  "type": "zeebe:input",
7620
7490
  "name": "githubBody"
@@ -7627,10 +7497,10 @@
7627
7497
  },
7628
7498
  {
7629
7499
  "label": "Body",
7630
- "description": "The contents of the issue or release or comment",
7500
+ "description": "The contents of the issue or release",
7631
7501
  "feel": "optional",
7632
7502
  "group": "input",
7633
- "type": "String",
7503
+ "type": "Text",
7634
7504
  "binding": {
7635
7505
  "type": "zeebe:input",
7636
7506
  "name": "githubBody"
@@ -7638,7 +7508,25 @@
7638
7508
  "optional": true,
7639
7509
  "condition": {
7640
7510
  "property": "issueOperationType",
7641
- "oneOf": ["createIssue", "updateIssue", "createIssueComment"]
7511
+ "oneOf": ["createIssue", "updateIssue"]
7512
+ }
7513
+ },
7514
+ {
7515
+ "label": "Body",
7516
+ "description": "The contents of the issue comment",
7517
+ "feel": "optional",
7518
+ "group": "input",
7519
+ "constraints": {
7520
+ "notEmpty": true
7521
+ },
7522
+ "type": "Text",
7523
+ "binding": {
7524
+ "type": "zeebe:input",
7525
+ "name": "githubBody"
7526
+ },
7527
+ "condition": {
7528
+ "property": "issueOperationType",
7529
+ "oneOf": ["createIssueComment"]
7642
7530
  }
7643
7531
  },
7644
7532
  {
@@ -7773,7 +7661,7 @@
7773
7661
  "notEmpty": true
7774
7662
  },
7775
7663
  "condition": {
7776
- "property": "operationType",
7664
+ "property": "branchOperationType",
7777
7665
  "oneOf": ["getBranch"]
7778
7666
  }
7779
7667
  },
@@ -8188,6 +8076,20 @@
8188
8076
  },
8189
8077
  "optional": true
8190
8078
  },
8079
+ {
8080
+ "group": "input",
8081
+ "type": "Hidden",
8082
+ "value": "={\"body\":if githubBody = null then null else githubBody}",
8083
+ "binding": {
8084
+ "type": "zeebe:input",
8085
+ "name": "body"
8086
+ },
8087
+ "condition": {
8088
+ "property": "issueOperationType",
8089
+ "oneOf": ["createIssueComment"]
8090
+ },
8091
+ "optional": true
8092
+ },
8191
8093
  {
8192
8094
  "group": "input",
8193
8095
  "type": "Hidden",
@@ -8587,7 +8489,7 @@
8587
8489
  },
8588
8490
  {
8589
8491
  "type": "Hidden",
8590
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"comments\"",
8492
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"/comments\"",
8591
8493
  "binding": {
8592
8494
  "type": "zeebe:input",
8593
8495
  "name": "url"
@@ -8766,15 +8668,15 @@
8766
8668
  }
8767
8669
  ],
8768
8670
  "engines": {
8769
- "camunda": "^8.2"
8671
+ "camunda": "^8.4"
8770
8672
  }
8771
8673
  },
8772
8674
  {
8773
8675
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
8774
- "name": "GitHub",
8676
+ "name": "GitHub Outbound Connector",
8775
8677
  "id": "io.camunda.connectors.GitHub.v1",
8776
- "version": 1,
8777
- "description": "GitHub connector",
8678
+ "version": 3,
8679
+ "description": "Manage issues, branches, releases, and more",
8778
8680
  "icon": {
8779
8681
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
8780
8682
  },
@@ -9728,7 +9630,7 @@
9728
9630
  "notEmpty": true
9729
9631
  },
9730
9632
  "condition": {
9731
- "property": "branchOperationType",
9633
+ "property": "operationType",
9732
9634
  "oneOf": ["getBranch"]
9733
9635
  }
9734
9636
  },
@@ -10491,7 +10393,7 @@
10491
10393
  "constraints": {
10492
10394
  "notEmpty": false,
10493
10395
  "pattern": {
10494
- "value": "^(=|([0-9]+|secrets\\..+)$)",
10396
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
10495
10397
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
10496
10398
  }
10497
10399
  }
@@ -10728,7 +10630,7 @@
10728
10630
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
10729
10631
  "name": "GitHub Outbound Connector",
10730
10632
  "id": "io.camunda.connectors.GitHub.v1",
10731
- "version": 7,
10633
+ "version": 6,
10732
10634
  "description": "Manage issues, branches, releases, and more",
10733
10635
  "icon": {
10734
10636
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
@@ -10964,10 +10866,6 @@
10964
10866
  {
10965
10867
  "name": "Create an organization invitation",
10966
10868
  "value": "orgInvitation"
10967
- },
10968
- {
10969
- "name": "Get repository content",
10970
- "value": "getRepoContent"
10971
10869
  }
10972
10870
  ],
10973
10871
  "condition": {
@@ -11117,6 +11015,20 @@
11117
11015
  "equals": "bearer"
11118
11016
  }
11119
11017
  },
11018
+ {
11019
+ "id": "pullRequestMethodPost",
11020
+ "group": "configuration",
11021
+ "type": "Hidden",
11022
+ "value": "post",
11023
+ "binding": {
11024
+ "type": "zeebe:input",
11025
+ "name": "method"
11026
+ },
11027
+ "condition": {
11028
+ "property": "pullRequestOperationType",
11029
+ "oneOf": ["createPullRequest"]
11030
+ }
11031
+ },
11120
11032
  {
11121
11033
  "id": "refMethodPost",
11122
11034
  "group": "configuration",
@@ -11201,20 +11113,6 @@
11201
11113
  "oneOf": ["createIssue", "createIssueComment"]
11202
11114
  }
11203
11115
  },
11204
- {
11205
- "id": "pullRequestMethodPost",
11206
- "group": "configuration",
11207
- "type": "Hidden",
11208
- "value": "post",
11209
- "binding": {
11210
- "type": "zeebe:input",
11211
- "name": "method"
11212
- },
11213
- "condition": {
11214
- "property": "pullRequestOperationType",
11215
- "oneOf": ["createPullRequest"]
11216
- }
11217
- },
11218
11116
  {
11219
11117
  "id": "reposMethodPatch",
11220
11118
  "group": "configuration",
@@ -11258,7 +11156,7 @@
11258
11156
  }
11259
11157
  },
11260
11158
  {
11261
- "id": "repoMethodDelete",
11159
+ "id": "reposMethodDelete",
11262
11160
  "group": "configuration",
11263
11161
  "type": "Hidden",
11264
11162
  "value": "delete",
@@ -11286,7 +11184,7 @@
11286
11184
  }
11287
11185
  },
11288
11186
  {
11289
- "id": "listMethodGet",
11187
+ "id": "listCollaboratorsMethodGet",
11290
11188
  "group": "configuration",
11291
11189
  "type": "Hidden",
11292
11190
  "value": "get",
@@ -11300,7 +11198,7 @@
11300
11198
  }
11301
11199
  },
11302
11200
  {
11303
- "id": "alertsMethodGet",
11201
+ "id": "listAlertsMethodGet",
11304
11202
  "group": "configuration",
11305
11203
  "type": "Hidden",
11306
11204
  "value": "get",
@@ -11324,12 +11222,7 @@
11324
11222
  },
11325
11223
  "condition": {
11326
11224
  "property": "reposOperationType",
11327
- "oneOf": [
11328
- "listOrganizationRepos",
11329
- "getRepo",
11330
- "listRepoContributors",
11331
- "getRepoContent"
11332
- ]
11225
+ "oneOf": ["listOrganizationRepos", "getRepo", "listRepoContributors"]
11333
11226
  }
11334
11227
  },
11335
11228
  {
@@ -11393,6 +11286,25 @@
11393
11286
  "oneOf": ["listCollaborators"]
11394
11287
  }
11395
11288
  },
11289
+ {
11290
+ "label": "Owner",
11291
+ "description": "Repository owner",
11292
+ "group": "configuration",
11293
+ "type": "String",
11294
+ "feel": "optional",
11295
+ "value": "",
11296
+ "binding": {
11297
+ "type": "zeebe:input",
11298
+ "name": "owner"
11299
+ },
11300
+ "constraints": {
11301
+ "notEmpty": true
11302
+ },
11303
+ "condition": {
11304
+ "property": "pullRequestOperationType",
11305
+ "oneOf": ["createPullRequest"]
11306
+ }
11307
+ },
11396
11308
  {
11397
11309
  "label": "Owner",
11398
11310
  "description": "Repository owner",
@@ -11470,8 +11382,7 @@
11470
11382
  "getRepo",
11471
11383
  "deleteRepo",
11472
11384
  "updateRepo",
11473
- "listRepoContributors",
11474
- "getRepoContent"
11385
+ "listRepoContributors"
11475
11386
  ]
11476
11387
  }
11477
11388
  },
@@ -11544,22 +11455,22 @@
11544
11455
  }
11545
11456
  },
11546
11457
  {
11547
- "label": "Owner",
11548
- "description": "Repository owner",
11458
+ "label": "Repository",
11459
+ "description": "Name of the repository",
11549
11460
  "group": "configuration",
11550
11461
  "type": "String",
11551
11462
  "feel": "optional",
11552
11463
  "value": "",
11553
11464
  "binding": {
11554
11465
  "type": "zeebe:input",
11555
- "name": "owner"
11466
+ "name": "repo"
11556
11467
  },
11557
11468
  "constraints": {
11558
11469
  "notEmpty": true
11559
11470
  },
11560
11471
  "condition": {
11561
- "property": "pullRequestOperationType",
11562
- "oneOf": ["createPullRequest"]
11472
+ "property": "listCollaboratorsOperationType",
11473
+ "oneOf": ["listCollaborators"]
11563
11474
  }
11564
11475
  },
11565
11476
  {
@@ -11577,8 +11488,8 @@
11577
11488
  "notEmpty": true
11578
11489
  },
11579
11490
  "condition": {
11580
- "property": "listCollaboratorsOperationType",
11581
- "oneOf": ["listCollaborators"]
11491
+ "property": "pullRequestOperationType",
11492
+ "oneOf": ["createPullRequest"]
11582
11493
  }
11583
11494
  },
11584
11495
  {
@@ -11658,8 +11569,7 @@
11658
11569
  "getRepo",
11659
11570
  "deleteRepo",
11660
11571
  "updateRepo",
11661
- "listRepoContributors",
11662
- "getRepoContent"
11572
+ "listRepoContributors"
11663
11573
  ]
11664
11574
  }
11665
11575
  },
@@ -11731,25 +11641,6 @@
11731
11641
  ]
11732
11642
  }
11733
11643
  },
11734
- {
11735
- "label": "Repository",
11736
- "description": "Name of the repository",
11737
- "group": "configuration",
11738
- "type": "String",
11739
- "feel": "optional",
11740
- "value": "",
11741
- "binding": {
11742
- "type": "zeebe:input",
11743
- "name": "repo"
11744
- },
11745
- "constraints": {
11746
- "notEmpty": true
11747
- },
11748
- "condition": {
11749
- "property": "pullRequestOperationType",
11750
- "oneOf": ["createPullRequest"]
11751
- }
11752
- },
11753
11644
  {
11754
11645
  "label": "Issue number",
11755
11646
  "description": "The number that identifies the issue",
@@ -12500,10 +12391,8 @@
12500
12391
  },
12501
12392
  "constraints": {
12502
12393
  "notEmpty": true,
12503
- "pattern": {
12504
- "value": "^(=.+|.{40})",
12505
- "message": "must consist of 40 characters."
12506
- }
12394
+ "minLength": 40,
12395
+ "maxLength": 40
12507
12396
  },
12508
12397
  "condition": {
12509
12398
  "property": "referenceOperationType",
@@ -12571,7 +12460,7 @@
12571
12460
  "label": "Body",
12572
12461
  "description": "The contents of the pull request",
12573
12462
  "group": "input",
12574
- "type": "Text",
12463
+ "type": "String",
12575
12464
  "feel": "optional",
12576
12465
  "value": "",
12577
12466
  "binding": {
@@ -12643,43 +12532,7 @@
12643
12532
  },
12644
12533
  "condition": {
12645
12534
  "property": "listCollaboratorsOperationType",
12646
- "oneOf": ["listCollaborators"]
12647
- }
12648
- },
12649
- {
12650
- "label": "Path",
12651
- "description": "The path of the content within the repository",
12652
- "group": "input",
12653
- "type": "String",
12654
- "feel": "optional",
12655
- "value": "",
12656
- "binding": {
12657
- "type": "zeebe:input",
12658
- "name": "contentPath"
12659
- },
12660
- "constraints": {
12661
- "notEmpty": true
12662
- },
12663
- "condition": {
12664
- "property": "reposOperationType",
12665
- "oneOf": ["getRepoContent"]
12666
- }
12667
- },
12668
- {
12669
- "label": "Ref",
12670
- "description": "The name of the commit/branch/tag. Default: the repository's main branch",
12671
- "group": "input",
12672
- "type": "String",
12673
- "feel": "optional",
12674
- "value": "",
12675
- "binding": {
12676
- "type": "zeebe:input",
12677
- "name": "ref"
12678
- },
12679
- "optional": true,
12680
- "condition": {
12681
- "property": "reposOperationType",
12682
- "oneOf": ["getRepoContent"]
12535
+ "oneOf": ["listCollaborators"]
12683
12536
  }
12684
12537
  },
12685
12538
  {
@@ -12845,19 +12698,6 @@
12845
12698
  "oneOf": ["listCollaborators"]
12846
12699
  }
12847
12700
  },
12848
- {
12849
- "group": "input",
12850
- "type": "Hidden",
12851
- "value": "={\"ref\": if ref = null then null else ref}",
12852
- "binding": {
12853
- "type": "zeebe:input",
12854
- "name": "queryParameters"
12855
- },
12856
- "condition": {
12857
- "property": "reposOperationType",
12858
- "oneOf": ["getRepoContent"]
12859
- }
12860
- },
12861
12701
  {
12862
12702
  "label": "Result variable",
12863
12703
  "description": "Name of variable to store the response in. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-variable\" target=\"_blank\">documentation</a>",
@@ -13174,23 +13014,6 @@
13174
13014
  "oneOf": ["listCollaborators"]
13175
13015
  }
13176
13016
  },
13177
- {
13178
- "label": "Result expression",
13179
- "id": "resultExpressionGetContent",
13180
- "description": "Expression to map the response into process variables. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#result-expression\" target=\"_blank\">documentation</a>",
13181
- "group": "output",
13182
- "type": "String",
13183
- "feel": "required",
13184
- "value": "={repositoryContent: response.body}",
13185
- "binding": {
13186
- "type": "zeebe:taskHeader",
13187
- "key": "resultExpression"
13188
- },
13189
- "condition": {
13190
- "property": "reposOperationType",
13191
- "oneOf": ["getRepoContent"]
13192
- }
13193
- },
13194
13017
  {
13195
13018
  "label": "Connection timeout",
13196
13019
  "description": "Sets the timeout in seconds to establish a connection or 0 for an infinite timeout",
@@ -13471,21 +13294,9 @@
13471
13294
  "oneOf": ["listCollaborators"]
13472
13295
  }
13473
13296
  },
13474
- {
13475
- "type": "Hidden",
13476
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/contents/\" + contentPath",
13477
- "binding": {
13478
- "type": "zeebe:input",
13479
- "name": "url"
13480
- },
13481
- "condition": {
13482
- "property": "reposOperationType",
13483
- "oneOf": ["getRepoContent"]
13484
- }
13485
- },
13486
13297
  {
13487
13298
  "label": "Error expression",
13488
- "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/\" target=\"_blank\">documentation</a>",
13299
+ "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
13489
13300
  "group": "errors",
13490
13301
  "type": "Text",
13491
13302
  "feel": "required",
@@ -13501,10 +13312,10 @@
13501
13312
  },
13502
13313
  {
13503
13314
  "$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
13504
- "name": "GitHub",
13315
+ "name": "GitHub Outbound Connector",
13505
13316
  "id": "io.camunda.connectors.GitHub.v1",
13506
- "version": 2,
13507
- "description": "GitHub connector",
13317
+ "version": 5,
13318
+ "description": "Manage issues, branches, releases, and more",
13508
13319
  "icon": {
13509
13320
  "contents": "data:image/svg+xml;utf8,%3Csvg width='98' height='96' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M48.854 0C21.839 0 0 22 0 49.217c0 21.756 13.993 40.172 33.405 46.69 2.427.49 3.316-1.059 3.316-2.362 0-1.141-.08-5.052-.08-9.127-13.59 2.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015 4.934.326 7.523 5.052 7.523 5.052 4.367 7.496 11.404 5.378 14.235 4.074.404-3.178 1.699-5.378 3.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283 0-5.378 1.94-9.778 5.014-13.2-.485-1.222-2.184-6.275.486-13.038 0 0 4.125-1.304 13.426 5.052a46.97 46.97 0 0 1 12.214-1.63c4.125 0 8.33.571 12.213 1.63 9.302-6.356 13.427-5.052 13.427-5.052 2.67 6.763.97 11.816.485 13.038 3.155 3.422 5.015 7.822 5.015 13.2 0 18.905-11.404 23.06-22.324 24.283 1.78 1.548 3.316 4.481 3.316 9.126 0 6.6-.08 11.897-.08 13.526 0 1.304.89 2.853 3.316 2.364 19.412-6.52 33.405-24.935 33.405-46.691C97.707 22 75.788 0 48.854 0z' fill='%2324292f'/%3E%3C/svg%3E"
13510
13321
  },
@@ -13579,6 +13390,10 @@
13579
13390
  {
13580
13391
  "name": "Code scanning",
13581
13392
  "value": "codeScanning"
13393
+ },
13394
+ {
13395
+ "name": "Actions",
13396
+ "value": "actions"
13582
13397
  }
13583
13398
  ],
13584
13399
  "binding": {
@@ -13759,6 +13574,26 @@
13759
13574
  "name": "operationType"
13760
13575
  }
13761
13576
  },
13577
+ {
13578
+ "label": "Operation type",
13579
+ "id": "eventOperationType",
13580
+ "group": "operation",
13581
+ "type": "Dropdown",
13582
+ "choices": [
13583
+ {
13584
+ "name": "Create a workflow dispatch event",
13585
+ "value": "createWorkflowDispatchEvent"
13586
+ }
13587
+ ],
13588
+ "condition": {
13589
+ "property": "operationGroup",
13590
+ "oneOf": ["actions"]
13591
+ },
13592
+ "binding": {
13593
+ "type": "zeebe:input",
13594
+ "name": "operationType"
13595
+ }
13596
+ },
13762
13597
  {
13763
13598
  "type": "Hidden",
13764
13599
  "label": "Type",
@@ -13788,6 +13623,20 @@
13788
13623
  "equals": "bearer"
13789
13624
  }
13790
13625
  },
13626
+ {
13627
+ "id": "eventMethodPost",
13628
+ "group": "configuration",
13629
+ "type": "Hidden",
13630
+ "value": "post",
13631
+ "binding": {
13632
+ "type": "zeebe:input",
13633
+ "name": "method"
13634
+ },
13635
+ "condition": {
13636
+ "property": "eventOperationType",
13637
+ "oneOf": ["createWorkflowDispatchEvent"]
13638
+ }
13639
+ },
13791
13640
  {
13792
13641
  "id": "reposMethodPost",
13793
13642
  "group": "configuration",
@@ -13984,6 +13833,25 @@
13984
13833
  "oneOf": ["searchIssues", "getIssue", "listCommits"]
13985
13834
  }
13986
13835
  },
13836
+ {
13837
+ "label": "Owner",
13838
+ "description": "Repository owner",
13839
+ "group": "configuration",
13840
+ "type": "String",
13841
+ "feel": "optional",
13842
+ "value": "",
13843
+ "binding": {
13844
+ "type": "zeebe:input",
13845
+ "name": "owner"
13846
+ },
13847
+ "constraints": {
13848
+ "notEmpty": true
13849
+ },
13850
+ "condition": {
13851
+ "property": "eventOperationType",
13852
+ "oneOf": ["createWorkflowDispatchEvent"]
13853
+ }
13854
+ },
13987
13855
  {
13988
13856
  "label": "Owner",
13989
13857
  "description": "Repository owner",
@@ -14095,6 +13963,25 @@
14095
13963
  ]
14096
13964
  }
14097
13965
  },
13966
+ {
13967
+ "label": "Repository",
13968
+ "description": "Name of the repository",
13969
+ "group": "configuration",
13970
+ "type": "String",
13971
+ "feel": "optional",
13972
+ "value": "",
13973
+ "binding": {
13974
+ "type": "zeebe:input",
13975
+ "name": "repo"
13976
+ },
13977
+ "constraints": {
13978
+ "notEmpty": true
13979
+ },
13980
+ "condition": {
13981
+ "property": "eventOperationType",
13982
+ "oneOf": ["createWorkflowDispatchEvent"]
13983
+ }
13984
+ },
14098
13985
  {
14099
13986
  "label": "Repository",
14100
13987
  "description": "Name of the repository",
@@ -14296,10 +14183,10 @@
14296
14183
  },
14297
14184
  {
14298
14185
  "label": "Body",
14299
- "description": "The contents of the issue or release or comment",
14186
+ "description": "The contents of the issue or release",
14300
14187
  "feel": "optional",
14301
14188
  "group": "input",
14302
- "type": "String",
14189
+ "type": "Text",
14303
14190
  "binding": {
14304
14191
  "type": "zeebe:input",
14305
14192
  "name": "githubBody"
@@ -14312,10 +14199,10 @@
14312
14199
  },
14313
14200
  {
14314
14201
  "label": "Body",
14315
- "description": "The contents of the issue or release or comment",
14202
+ "description": "The contents of the issue or release",
14316
14203
  "feel": "optional",
14317
14204
  "group": "input",
14318
- "type": "String",
14205
+ "type": "Text",
14319
14206
  "binding": {
14320
14207
  "type": "zeebe:input",
14321
14208
  "name": "githubBody"
@@ -14323,7 +14210,25 @@
14323
14210
  "optional": true,
14324
14211
  "condition": {
14325
14212
  "property": "issueOperationType",
14326
- "oneOf": ["createIssue", "updateIssue", "createIssueComment"]
14213
+ "oneOf": ["createIssue", "updateIssue"]
14214
+ }
14215
+ },
14216
+ {
14217
+ "label": "Body",
14218
+ "description": "The contents of the issue comment",
14219
+ "feel": "optional",
14220
+ "group": "input",
14221
+ "constraints": {
14222
+ "notEmpty": true
14223
+ },
14224
+ "type": "Text",
14225
+ "binding": {
14226
+ "type": "zeebe:input",
14227
+ "name": "githubBody"
14228
+ },
14229
+ "condition": {
14230
+ "property": "issueOperationType",
14231
+ "oneOf": ["createIssueComment"]
14327
14232
  }
14328
14233
  },
14329
14234
  {
@@ -14847,6 +14752,61 @@
14847
14752
  "oneOf": ["updateIssue"]
14848
14753
  }
14849
14754
  },
14755
+ {
14756
+ "label": "Git reference",
14757
+ "description": "Branch or tag name for the workflow",
14758
+ "group": "input",
14759
+ "type": "String",
14760
+ "feel": "optional",
14761
+ "value": "",
14762
+ "binding": {
14763
+ "type": "zeebe:input",
14764
+ "name": "gitReference"
14765
+ },
14766
+ "constraints": {
14767
+ "notEmpty": true
14768
+ },
14769
+ "condition": {
14770
+ "property": "eventOperationType",
14771
+ "oneOf": ["createWorkflowDispatchEvent"]
14772
+ }
14773
+ },
14774
+ {
14775
+ "label": "Workflow ID",
14776
+ "description": "The ID of the workflow. You can also pass the workflow file name as a string.",
14777
+ "group": "configuration",
14778
+ "type": "String",
14779
+ "feel": "optional",
14780
+ "value": "",
14781
+ "binding": {
14782
+ "type": "zeebe:input",
14783
+ "name": "workflowId"
14784
+ },
14785
+ "constraints": {
14786
+ "notEmpty": true
14787
+ },
14788
+ "condition": {
14789
+ "property": "eventOperationType",
14790
+ "oneOf": ["createWorkflowDispatchEvent"]
14791
+ }
14792
+ },
14793
+ {
14794
+ "label": "Workflow inputs",
14795
+ "description": "An object containing up to 10 key-value pairs",
14796
+ "group": "input",
14797
+ "type": "Text",
14798
+ "feel": "required",
14799
+ "value": "={}",
14800
+ "binding": {
14801
+ "type": "zeebe:input",
14802
+ "name": "workflowInputs"
14803
+ },
14804
+ "optional": true,
14805
+ "condition": {
14806
+ "property": "eventOperationType",
14807
+ "oneOf": ["createWorkflowDispatchEvent"]
14808
+ }
14809
+ },
14850
14810
  {
14851
14811
  "group": "configuration",
14852
14812
  "type": "Hidden",
@@ -14873,6 +14833,20 @@
14873
14833
  },
14874
14834
  "optional": true
14875
14835
  },
14836
+ {
14837
+ "group": "input",
14838
+ "type": "Hidden",
14839
+ "value": "={\"body\":if githubBody = null then null else githubBody}",
14840
+ "binding": {
14841
+ "type": "zeebe:input",
14842
+ "name": "body"
14843
+ },
14844
+ "condition": {
14845
+ "property": "issueOperationType",
14846
+ "oneOf": ["createIssueComment"]
14847
+ },
14848
+ "optional": true
14849
+ },
14876
14850
  {
14877
14851
  "group": "input",
14878
14852
  "type": "Hidden",
@@ -14915,6 +14889,20 @@
14915
14889
  },
14916
14890
  "optional": true
14917
14891
  },
14892
+ {
14893
+ "group": "input",
14894
+ "type": "Hidden",
14895
+ "value": "={\"ref\": if gitReference = null then null else gitReference, \"inputs\":workflowInputs}",
14896
+ "binding": {
14897
+ "type": "zeebe:input",
14898
+ "name": "body"
14899
+ },
14900
+ "condition": {
14901
+ "property": "eventOperationType",
14902
+ "oneOf": ["createWorkflowDispatchEvent"]
14903
+ },
14904
+ "optional": true
14905
+ },
14918
14906
  {
14919
14907
  "group": "input",
14920
14908
  "type": "Hidden",
@@ -15221,7 +15209,7 @@
15221
15209
  "constraints": {
15222
15210
  "notEmpty": false,
15223
15211
  "pattern": {
15224
- "value": "^(=|([0-9]+|secrets\\..+|\\{\\{secrets\\..+\\}\\})$)",
15212
+ "value": "^(=|([0-9]+|\\{\\{secrets\\..+\\}\\})$)",
15225
15213
  "message": "Must be a timeout in seconds (default value is 20 seconds) or a FEEL expression"
15226
15214
  }
15227
15215
  }
@@ -15272,7 +15260,7 @@
15272
15260
  },
15273
15261
  {
15274
15262
  "type": "Hidden",
15275
- "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"comments\"",
15263
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/issues/\" + string(issueNumber) + \"/comments\"",
15276
15264
  "binding": {
15277
15265
  "type": "zeebe:input",
15278
15266
  "name": "url"
@@ -15438,6 +15426,18 @@
15438
15426
  "oneOf": ["searchIssues"]
15439
15427
  }
15440
15428
  },
15429
+ {
15430
+ "type": "Hidden",
15431
+ "value": "=baseUrl + \"/repos/\" + owner + \"/\" + repo + \"/actions/workflows/\" + workflowId + \"/dispatches\"",
15432
+ "binding": {
15433
+ "type": "zeebe:input",
15434
+ "name": "url"
15435
+ },
15436
+ "condition": {
15437
+ "property": "eventOperationType",
15438
+ "oneOf": ["createWorkflowDispatchEvent"]
15439
+ }
15440
+ },
15441
15441
  {
15442
15442
  "label": "Error expression",
15443
15443
  "description": "Expression to handle errors. Details in the <a href=\"https://docs.camunda.io/docs/components/connectors/use-connectors/#bpmn-errors\" target=\"_blank\">documentation</a>",
@@ -15451,7 +15451,7 @@
15451
15451
  }
15452
15452
  ],
15453
15453
  "engines": {
15454
- "camunda": "^8.2"
15454
+ "camunda": "^8.5"
15455
15455
  }
15456
15456
  },
15457
15457
  {