Custom Policy in Azure DevOps to check if checklist is present in description of Pull Request.
When a Pull Request is created/updated, this tool checks the description of Pull Request for specific keywords ("Checklist", "Yes", "No") and sets the Pull Request status (succeeded/failed) in Azure DevOps.
Clone the repository
$ git clone https://github.com/jagdish7908/Check.git && cd Check
Install dependencies
$ npm install
Create an environment variable for your collection URL, replacing with the name of your Azure DevOps organization.
$ setx COLLECTIONURL "https://dev.azure.com/<your account>"
Create a personal auth token (PAT) for your app to use, following these instructions: Authenticating with personal access tokens. You should create a new PAT for every service that you use to access your account, naming it appropriately.
$ setx TOKEN "yourtokengoeshere"
$ node app.js