This guide explains how to set up and maintain GitHub labels for the Grok Zephyr project.
The Grok Zephyr project uses a comprehensive set of labels to organize issues and pull requests. These labels were designed based on recommendations from the 2026 Grok-Build visual polish audit.
See docs/LABELS.md for a complete description of all available labels, their colors, and usage guidelines.
The easiest way to set up all labels with the correct colors is to use the GitHub Actions workflow:
- Go to your repository's Actions tab
- Find the "Manage Labels" workflow
- Click "Run workflow" → "Run workflow"
- The workflow will automatically create/update all labels with the correct colors and descriptions
If you need to update labels manually, you can use the provided Python script:
# Set your GitHub token
export GITHUB_TOKEN=<your_personal_access_token>
# Run the update script
python3 scripts/update_labels.pyNote: Your personal access token must have repo and admin:org_hook scopes to manage labels.
The label configuration is stored in scripts/label-config.json. This file defines:
- Label name
- Color (hex format)
- Description
To add or modify labels, edit this file and then run the update script or the GitHub Actions workflow.
The repository includes a GitHub Actions workflow (.github/workflows/manage-labels.yml) that can:
- Be manually triggered via
workflow_dispatch - Automatically run when the workflow file or label configuration changes
This ensures labels are always up-to-date and consistent across the repository.
- Ensure your GITHUB_TOKEN has the correct scopes (
repoandadmin:org_hook) - Check that the label name matches exactly (case-sensitive)
- Verify the API isn't being blocked (you may need VPN access)
- Check the workflow logs in the Actions tab
- Ensure the workflow file is properly formatted
- Verify that the
scripts/update_labels.pyscript is executable
When creating new issues or PRs, please use the appropriate labels to help organize the work. See the label descriptions in docs/LABELS.md for guidance.