Perform an action when an extension is installed in Azure DevOps

Copper Contributor

Below is a sample manifest file to perform some action when some activity happens in the extension of Azure DevOps.

 

"actions": [
    {
        "id": "performAction",
        "name": "Perform action",
        "description": "Posts a standard event payload",
        "supportedEventTypes": [
             "git.push",
             "git.pullrequest.created",
             "git.pullrequest.updated"
         ],
         "publishEvent": {
             "url": "{{{url}}}",
             "resourceDetailsToSend": "all",                 
             "messagesToSend": "all",
             "detailedMessagesToSend": "all"
           }
     }

]

 

What should I add in the "action" section if I want to perform some action when the extension is installed in some azure DevOps site?

0 Replies