This directory contains the configuration for GitHub repository labels that are automatically synced by the label-sync workflow.
labels.yml: Defines all labels used in this repositoryworkflows/label-sync.yml: Workflow that automatically syncs labels
The label-sync workflow automatically:
- Runs when changes are pushed to the main branch
- Reads label definitions from
labels.yml - Creates or updates labels in the repository
- Preserves existing labels not defined in the config file
To add a new label:
- Edit
.github/labels.yml - Add your label definition:
- name: "your-label-name" color: "hexcolor" # without # prefix description: "Label description"
- Commit and push to main branch
- The workflow will automatically sync the labels
The following labels are required by Dependabot and other automation:
github-actions: For GitHub Actions dependency updatesdependencies: For all dependency updatespython: For Python dependency updatesdocker: For Docker dependency updates
You can manually trigger the label sync workflow from the Actions tab in GitHub.