cake-contrib / cake-contrib/Cake.AzureDevOps

AzureDevOpsSetPullRequestStatus fails when "Reset status whenever there are new changes" is enabled

Open
#347 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
C#
Stars
11
Forks
12
PR merge metrics
No merged PRs in 30d

Description

Setting a status using `AzureDevOpsSetPullRequestStatus` fails when on the policy the `Reset status whenever there are new changes` option is enabled.

Error message:

```
Pull request status rejected by status policy. Policy configuration requires status to be posted on iteration
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.