Image Description

About GitHub Automation Scripts

Bash and Python scripts to automate your Git & GitHub workflow. Made by using only standard python libraries.

Tech Stack

Python Bash Git GitHub
gitrepo-Floating-Image

GitHub Automation Scripts 🤖

All types of contributions are encouraged and valued. See the Table of Contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉

GitHub

Contributing to GitHub-Automation-Scripts

First off, thanks for taking the time to contribute! ❤️

All types of contributions are encouraged and valued. See the Table of Contents for different ways to help and details about how this project handles them. Please make sure to read the relevant section before making your contribution. It will make it a lot easier for us maintainers and smooth out the experience for all involved. The community looks forward to your contributions. 🎉

And if you like the project, but just don't have time to contribute, that's fine. There are other easy ways to support the project and show your appreciation, which we would also be very happy about:

  • Star the project
  • Tweet about it

Table of Contents

Asking Questions

If you want to ask a question, join the 'GitHub Automation scripts' project channel on the GSSoC discord server. To join the project channel, make sure you have the 'GitHub Automation scripts' & 'Contributor' role assigned to you. If you don't have the role assigned to you, you can self-assign it in the #self-roles channel.

Before you ask a question, it is best to search for existing Issues that might help you. It is also advisable to search the internet for answers first.

If you then still feel the need to ask a question and need clarification, we recommend the following:

How To Contribute

Styleguides

This project uses the Flake8 linter to lint the Python code. If you are using VSCode, I would suggest installing the Flake8 linter extension for VSCode.

Installation

Requirements:

Note: This script is written exclusively for Git Bash on Windows. You will have to modify it for other shells.

  1. Fork and clone the repository locally.

  2. Create a github_secrets.py file in the ./scripts folder and define the following variables inside it:

    GITHUB_API_TOKEN = "Your GitHub personal access token"
    USERNAME = "Your GitHub username"
  3. Add the project path to the PATH variable (Recommended):

    $ export PATH=$PATH":"$(pwd)"/scripts"

    To permanently add the scripts path to the PATH variable, run the below command in the project's root directory. (This file is located in your home directory)

    $ echo 'export PATH=$PATH''":'"$(pwd)"'/scripts''"' >> ~/.bash_profile
  4. OR

    Run the following commands in the project folder to add the scripts to your bin directory:

    $ cp -r /scripts/* /usr/bin/

Our Valuable Contributors

🠕