/github-limits

Testing Github Pull requests limits

Primary LanguageShellMIT LicenseMIT

github-limits

Hi, the purpose of this experiment is to better understand Github pull requests limits, upon some research on the internet I was not able to find any information on this regard, not even to git itself, the idea here is to open as many PR's as we can until something crashes, either git or GitHub UI. From my estimates, it is possible to open about 700 pull requests every hour.

How to contribute?

  1. Fork this repo 

  2. Install and configure hub (more details here)

    2.1 run brew install hub

    2.2 run git config --global hub.protocol https

    2.3 run touch ~/.config/hub && open ~/.config/hub

    2.4 paste

    github.com:
    - user: <github-username>
    oauth_token: <oauth-token>
    protocol: https
    
  3. Run script.sh (just keep it running in a terminal window)

  4. You're done! 🎉

How does the script work?

The script.sh file is a simple bash script that runs a loop where it reads a counter from the counter.txt file and based on it creates a new branch, a new commit, and a new pull request.

If you like what you see and want to support it please consider leaving a star and sharing with friends 🙂