# Allow to not create empty pull requests

**URL:** <https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703>\
**Category:** Ideas\
**Tags:** integrations, github\
**Created:** [March 1, 2020, 9:42am UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703 "2020-03-01T09:42:05Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![niccokunzmann](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/niccokunzmann/32/70_2.png) [@niccokunzmann](https://community.transifex.com/u/niccokunzmann)\
**Post date:** [March 1, 2020, 9:42am UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/1 "2020-03-01T09:42:05Z")

</div>

**Context**  
I receive a lot of pull requests from Transifex, once I change the settings.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/transifex/original/2X/4/47d944d597ad895058f94492dd0878a1ed25cdda.png)  
Many of the create a pull request for a file which is already there with the same content.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/transifex/original/2X/c/cb7af69fe93cbface864838a41f9ec794c120ff6.png)  
You can see them [here](https://github.com/niccokunzmann/coloring-book/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Aclosed+Translate+in%3Atitle), the red ones.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/transifex/original/2X/d/d7cb5a014a133fda0b96e7f10fedfb3276305f7f.png)

**Problem**  
I do not want to review useless pull requests.

**Solution**

- Do not open empty pull requests by default
- Allow an opt-out in the settings.
  - If you allow an option to remove empty pull requests and you create an empty pull request, please inform the reviewer about that option in the pull request description.

---

<div class="post-metadata">

**Author:** ![Panagiotis\_Kavrakis](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/panagiotis_kavrakis/32/1402_2.png) [@Panagiotis\_Kavrakis](https://community.transifex.com/u/Panagiotis_Kavrakis)\
**Post date:** [March 5, 2020, 12:39pm UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/2 "2020-03-05T12:39:37Z")

</div>

Hello @niccokunzmann,

Thank you for contacting with Transifex support.

According to your case, could you please share with us more information so as to understand better your case. What changes did you make and triggered these empty pull requests? I tried to change a YAML config file of a project of mine but I didn’t get any empty pull request.

Thank you in advance.

---

<div class="post-metadata">

**Author:** ![niccokunzmann](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/niccokunzmann/32/70_2.png) [@niccokunzmann](https://community.transifex.com/u/niccokunzmann)\
**Post date:** [March 20, 2020, 5:34pm UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/3 "2020-03-20T17:34:39Z")

</div>

> [@Panagiotis\_Kavrakis](#):
>
> What changes did you make and triggered these empty pull requests?

I think, I changed the mapping of the languages.

> <https://github.com/niccokunzmann/coloring-book/commit/2ed49835894a58d9b4d35a6860ed78dd11a7d5c2>

I am guessing: \>ou create a commit with git. When no files are changed, `git commit` fails. In this case, the next command for pushing the branch should not execute.

---

<div class="post-metadata">

**Author:** ![sebastian.kreft](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@sebastian.kreft](https://community.transifex.com/u/sebastian.kreft)\
**Post date:** [January 10, 2022, 10:06am UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/4 "2022-01-10T10:06:37Z")

</div>

Hello!  
Is there any solutions to this problem? I have the same issue, i.e. every time I trigger manual update to Bitbucket, Pull Requests are opened for all of my translations files, even though there are no changes in them. I also have language mapping in my settings.

---

<div class="post-metadata">

**Author:** ![Panagiotis\_Kavrakis](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/panagiotis_kavrakis/32/1402_2.png) [@Panagiotis\_Kavrakis](https://community.transifex.com/u/Panagiotis_Kavrakis)\
**Post date:** [January 11, 2022, 9:28am UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/5 "2022-01-11T09:28:57Z")

</div>

Hello @sebastian.kreft

Thank you for reaching out to Transifex community. Would you like to share with us the URL of your project in order to test this further?

Thank you in advance for your answer.

Kind regards,  
Panagiotis

---

<div class="post-metadata">

**Author:** ![sebastian.kreft](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@sebastian.kreft](https://community.transifex.com/u/sebastian.kreft)\
**Post date:** [January 12, 2022, 7:44am UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/6 "2022-01-12T07:44:39Z")

</div>

This is my project (but it’s private):  
[https://www.transifex.com/simployer/reporting-analytics/dashboard/](https://www.transifex.com/simployer/reporting-analytics/dashboard/)

---

<div class="post-metadata">

**Author:** ![Panagiotis\_Kavrakis](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.transifex.com/panagiotis_kavrakis/32/1402_2.png) [@Panagiotis\_Kavrakis](https://community.transifex.com/u/Panagiotis_Kavrakis)\
**Post date:** [January 12, 2022, 2:29pm UTC](https://community.transifex.com/t/allow-to-not-create-empty-pull-requests/1703/7 "2022-01-12T14:29:02Z")

</div>

Thank you @sebastian.kreft for sharing this information.  
Could you please send me an email to [support@transifex.com](mailto:support@transifex.com) in order to continue the discussion there?

Kind regards,  
Panagiotis
