danhellem / github-actions-pr-is-linked-to-work-item

Check for linked Azure DevOps work item
MIT License
7 stars 2 forks source link

Detect links in PR titles #165

Closed tjcorr closed 7 months ago

tjcorr commented 7 months ago

Right now the action is only able to detect AB#{id} links within a PR description. It would be nice to also support looking in the titles of the PRs as well.

tjcorr commented 7 months ago

Upon closer look at the code I can see this is not a trivial change to implement since the code is relying heavily on the Azure Boards app to verify the links rather than actually checking the ADO work item directly. Since the boards app can't add hyperlinks into titles this would require a complete overall of this action :/

danhellem commented 7 months ago

Yeah AB# does not currently work if in the title. Only the description. So this action would not help much in that case :(