Azure / Azure/azure-cli

Don't allow the creation of empty pull requests (No changed files)

Open
#21,177 5 comments 0 reactions 2 assignees Claimed by @wangzelin007 View on GitHub
act-platform-engineering-squad Core feature-request
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Is your feature request related to a problem? Please describe.**
When I create a pull request through the pipeline, there is no check to see if the PR has any changes, this leads to a blank PR with no file changes. The web version doesn't allow the creation of empty PRs, so it would make sense to be the same in the CLI.

**Describe the solution you'd like**
Do not allow the creation of PRs that have no changes.

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.