Skip to content

Run using Python

grenston edited this page Nov 5, 2020 · 2 revisions

How to execute with python

  1. Open cmd/terminal and navigate to the path where the tool is cloned.

    cd <path-to-the-repository>

  2. Run the following command to run the tool with python.

    python automate-branch-rules.py

  3. Enter the organization name, PAT and Execution type when prompted. If choosing single repository add/remove you will also have to provide Repository Name.

    run-tool

  4. Verify in GitHub whether the rules are added.

Clone this wiki locally