Skip to content

AnandChowdhary/color-labels-action

Repository files navigation

🏷🌈 Color Labels Action

Automatically color all labels in your repository.

Build CI Test CI Release CI Node CI

Screenshot of GitHub issues page with colored labels

⭐ How it works

If you're programmatically creating new labels for your repository, they would all be boring and gray. This Action automatically adds nice, soft colors for all your repository labels that are gray.

You can run this Action after updating labels:

name: Test CI
on:
  push:
    branches: [main]
jobs:
  test:
    name: Something that updates labels
    runs-on: ubuntu-18.04
    steps:
      # Do something with labels
      # Then run this Action
      - name: Color all labels
        uses: AnandChowdhary/color-labels-action@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

πŸ“„ License