Skip to content

jagdish7908/Check

Repository files navigation

Checklist Checker ✅

Custom Policy in Azure DevOps to check if checklist is present in description of Pull Request.

Table of Contents

About

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.
Alt text

Prerequisites

Installation

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"

Usage

$ node app.js

Integration with Azure DevOps

Configure web hook for Pull Requests in Azure DevOps

References

About

Custom Pull Request Policy in Azure DevOps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published