Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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

Open
Vicropht opened this issue Feb 2, 2022 · 3 comments
Open

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

Vicropht opened this issue Feb 2, 2022 · 3 comments
Assignees
Labels
Core CLI core infrastructure feature-request
Milestone

Comments

@Vicropht
Copy link

Vicropht commented Feb 2, 2022

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.

@ghost ghost added needs-triage This is a new issue that needs to be triaged to the appropriate team. customer-reported Issues that are reported by GitHub users external to the Azure organization. labels Feb 2, 2022
@yonzhan yonzhan added the Core CLI core infrastructure label Feb 2, 2022
@ghost ghost removed the needs-triage This is a new issue that needs to be triaged to the appropriate team. label Feb 2, 2022
@yonzhan yonzhan removed the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Feb 2, 2022
@yonzhan yonzhan added this to the Backlog milestone Feb 2, 2022
@yonzhan
Copy link
Collaborator

yonzhan commented Feb 2, 2022

@jiasli for awareness

@Amotti6
Copy link

Amotti6 commented Aug 8, 2023

Having the same issue as reported, are there any progress for this feature?

@andrzejmartyna
Copy link

I think otherwise i.e. I wish an empty PR could be created from UI too.
An empty PR would be valuable to just provide additional feedback/confirmation from the team (e.g. through PR templates).

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Core CLI core infrastructure feature-request
Projects
None yet
Development

No branches or pull requests

6 participants