GitHub labels template for copying
I provided the following template config
GitHub Dark | GitHub Light (Default) |
---|---|
![]() |
![]() |
Requires Labeler
Copy the labeler_labels.json
file to the file path of labeler -p
Run the command:
labeler -t [ghp_GITHUB_PERSONAL_ACCESS_TOKEN] -o [USER/ORGANISATION] -r [REPOSITORY_NAME] -duf
-d
: Delete all existing labels
-u
: Upload labels from file
Optional
-f
: Runs headlessly
- Run
labeler -c
- Enters the interactive config - Press
Enter
- Enter and save your GitHub Access Token - Go to 'Owner' - Enter your default owner (typically your username)
- Exit the interactive config
Now the config is setup whereby you don't need to input your username or access token on each command. This allows you do run the following:
labeler -r [REPOSITORY_NAME] -duf