Skip to content

Commit 4e923da

Browse files
authored
Adding fabric bot action (#3709)
1 parent 6434c10 commit 4e923da

File tree

1 file changed

+54
-2
lines changed

1 file changed

+54
-2
lines changed

.github/fabricbot.json

Lines changed: 54 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"capabilityId": "ScheduledSearch",
77
"subCapability": "ScheduledSearch",
88
"version": "1.1",
9-
"id": "a-PNOJWK3Jbr7QY7vkc2O",
109
"config": {
1110
"frequency": [
1211
{
@@ -50,7 +49,60 @@
5049
]
5150
},
5251
"disabled": true
52+
},
53+
{
54+
"taskType": "trigger",
55+
"capabilityId": "IssueResponder",
56+
"subCapability": "IssuesOnlyResponder",
57+
"version": "1.0",
58+
"config": {
59+
"conditions": {
60+
"operator": "and",
61+
"operands": [
62+
{
63+
"operator": "not",
64+
"operands": [
65+
{
66+
"name": "isAssignedToSomeone",
67+
"parameters": {}
68+
}
69+
]
70+
},
71+
{
72+
"name": "isAction",
73+
"parameters": {
74+
"action": "opened"
75+
}
76+
},
77+
{
78+
"operator": "not",
79+
"operands": [
80+
{
81+
"name": "hasLabel",
82+
"parameters": {
83+
"label": "needs-investigation"
84+
}
85+
}
86+
]
87+
}
88+
]
89+
},
90+
"eventType": "issue",
91+
"eventNames": [
92+
"issues",
93+
"project_card"
94+
],
95+
"taskName": "Add needs-investigation",
96+
"actions": [
97+
{
98+
"name": "addLabel",
99+
"parameters": {
100+
"label": "needs-investigation"
101+
}
102+
}
103+
]
104+
}
53105
}
54106
],
55107
"userGroups": []
56-
}
108+
}

0 commit comments

Comments
 (0)