feat: add new notification trigger in GitHub

This commit is contained in:
Ali BARIN
2022-04-21 21:10:03 +02:00
committed by Ömer Faruk Aydın
parent 3551d12e7d
commit a623116204
6 changed files with 163 additions and 19 deletions

View File

@@ -286,6 +286,46 @@
"name": "Test trigger"
}
]
},
{
"name": "New notification",
"key": "newNotification",
"interval": "15m",
"description": "Triggers when a new notification is created",
"substeps": [
{
"key": "chooseAccount",
"name": "Choose account"
},
{
"key": "chooseTrigger",
"name": "Set up a trigger",
"arguments": [
{
"label": "Repo",
"key": "repo",
"type": "dropdown",
"required": false,
"variables": false,
"description": "If blank, we will retrieve all notifications.",
"source": {
"type": "query",
"name": "getData",
"arguments": [
{
"name": "key",
"value": "listRepos"
}
]
}
}
]
},
{
"key": "testStep",
"name": "Test trigger"
}
]
}
]
}