We do not yet support remove, but that doesn't mean we should fail if a resource is removed from the root folder.
I tried to create a new project with different settings, and accidentality tried to create a feed using the same name as a feed in another project. Since this is not possible, I simply deleted the feed config from the new project.
The PR WhatIf pipeline now fails with the following:
Which makes sense. After all, the project structure contains no changes, and so there are no changes to post in the feedback.
Suggested solution
Instead of failing we should
Post a feedback saying "no changes found"
Add the git history to the feedback to verify the files changed
We do not yet support remove, but that doesn't mean we should fail if a resource is removed from the root folder.
I tried to create a new project with different settings, and accidentality tried to create a feed using the same name as a feed in another project. Since this is not possible, I simply deleted the feed config from the new project.
The PR WhatIf pipeline now fails with the following:
Which makes sense. After all, the project structure contains no changes, and so there are no changes to post in the feedback.
Suggested solution
Instead of failing we should