feat: add new watcher trigger in GitHub (#302)

* feat: add new watcher trigger in GitHub
This commit is contained in:
Ali BARIN
2022-04-23 01:21:51 +02:00
committed by GitHub
parent af348714f8
commit 65e6fbd54b
4 changed files with 95 additions and 3 deletions

View File

@@ -365,6 +365,45 @@
"name": "Test trigger"
}
]
},
{
"name": "New watcher",
"key": "newWatcher",
"interval": "15m",
"description": "Triggers when a new watcher is added to a repo",
"substeps": [
{
"key": "chooseAccount",
"name": "Choose account"
},
{
"key": "chooseTrigger",
"name": "Set up a trigger",
"arguments": [
{
"label": "Repo",
"key": "repo",
"type": "dropdown",
"required": true,
"variables": false,
"source": {
"type": "query",
"name": "getData",
"arguments": [
{
"name": "key",
"value": "listRepos"
}
]
}
}
]
},
{
"key": "testStep",
"name": "Test trigger"
}
]
}
]
}