Sync GitHub Labels
April 12, 2026 · View on GitHub
Sync GitHub labels from a configuration file. Creates, updates, or deletes labels to match the config, ensuring consistent labeling across repositories.
Inputs
| Name | Description | Required | Default |
|---|---|---|---|
config-file | URL or path to the labels config file | ❌ | devantler-tech labels |
delete-other-labels | Whether to delete labels not in the config | ❌ | true |
Usage
Default config
steps:
- name: Sync labels
uses: devantler-tech/actions/sync-github-labels@main
Custom config
steps:
- name: Sync labels
uses: devantler-tech/actions/sync-github-labels@main
with:
config-file: "https://raw.githubusercontent.com/my-org/configs/main/labels.yaml"
Preserve existing labels
steps:
- name: Sync labels
uses: devantler-tech/actions/sync-github-labels@main
with:
delete-other-labels: "false"