ajeckmans / format-check-task

A format check task for Azure Devops Pull Requests, based on dotnet format. It can scan all files or just the ones in a PR and add comments for each error found to the PR. When errors are found optionally fail the task or set a status check.
3 stars 0 forks source link

When branch lags behind target branch, formatting errors can be wrongly reported #35

Open ajeckmans opened 6 months ago

ajeckmans commented 6 months ago

If the branch lags behind the target branch, all changes in the target branch that are in commits not included in the branch to merge are wrongfully reported as part of the pull request and thus any formatting errors are reported as comments.

This should not be the case.