Sync GitHub labels from a configuration file. Creates, updates, or deletes labels to match the config, ensuring consistent labeling across repositories.
| 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 |
steps:
- name: Sync labels
uses: devantler-tech/actions/sync-github-labels@mainsteps:
- name: Sync labels
uses: devantler-tech/actions/sync-github-labels@main
with:
config-file: "https://raw.githubusercontent.com/my-org/configs/main/labels.yaml"steps:
- name: Sync labels
uses: devantler-tech/actions/sync-github-labels@main
with:
delete-other-labels: "false"