Open utterances-bot opened 5 months ago
HI Josh, thats a great article. Can you please let me know if there is any such plugin or option available for validating comments on git commits on Azure repos?
@raswinraaj We could probably use much of the same logic in Azure DevOps, but instead of use the Azure DevOps get pull request commits API to get the commits that make up the PR.
Is your use case essentially the same as this, but instead using Azure Repos and Azure Pipelines? It looks like the Commit Comment Validator pipelines extension from the Marketplace would fit the bill.
Azure DevOps Commit Message Validator and PR Linker GitHub Action | josh-ops
Enforce that each commit in a pull request has AB# in the commit message and link all of the work items to the pull request
https://josh-ops.com/posts/azdo-commit-message-validator-and-pr-linker-github-action/