Skip to content

Apply labels from a config file across multiple repositories

Notifications You must be signed in to change notification settings

varunvora/github-label-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-label-manager

Manage labels across multiple projects

Purpose

  1. Apply labels from a file to one or more repositories
  2. Apply labels from a file to multiple repositories in an organization
  3. Easily follow best-practices / style-guides for labelling

Usage

Clone and open this repository

git clone https://github.com/varunvora/github-label-manager.git
cd github-label-manager

Install python dependencies

pip install -U -r requirements.txt

Run the script

python3 apply_labels.py --repos=$MY_REPO --access_token=$GITHUB_TOKEN

Options

  • Apply labels from a custom file by passing its path using --path
  • Apply labels using Github username and password by passing --username and --password
  • Apply labels to multiple repositories by supplying a regex pattern for --repos
  • Apply labels for an organisation's repositories using --org=
  • Run python3 apply_labels.py -- --help for help

Contribution

About

Apply labels from a config file across multiple repositories

Topics

Resources

Stars

Watchers

Forks

Languages