feat: add new collaborator trigger in GitHub

This commit is contained in:
Ali BARIN
2022-04-22 18:51:00 +02:00
parent 57478dcc17
commit 024bb731d4
3 changed files with 89 additions and 0 deletions

View File

@@ -521,6 +521,45 @@
"name": "Test trigger"
}
]
},
{
"name": "New collaborator",
"key": "newCollaborator",
"interval": "15m",
"description": "Triggers when a new collaborator 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"
}
]
}
]
}