{"id":19180453,"url":"https://github.com/shanduur/declarative-labels-sync-action","last_synced_at":"2026-05-02T22:33:49.292Z","repository":{"id":209030636,"uuid":"723064121","full_name":"shanduur/declarative-labels-sync-action","owner":"shanduur","description":"GitHub Action for syncing labels from a YAML file to a target repository","archived":false,"fork":false,"pushed_at":"2023-11-24T15:42:15.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-04T03:30:29.568Z","etag":null,"topics":["automation","github","github-actions","labels"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/shanduur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-24T15:38:54.000Z","updated_at":"2024-01-13T20:00:32.000Z","dependencies_parsed_at":"2023-11-24T16:48:39.311Z","dependency_job_id":null,"html_url":"https://github.com/shanduur/declarative-labels-sync-action","commit_stats":null,"previous_names":["shanduur/declarative-labels-sync-action"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanduur%2Fdeclarative-labels-sync-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanduur%2Fdeclarative-labels-sync-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanduur%2Fdeclarative-labels-sync-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/shanduur%2Fdeclarative-labels-sync-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/shanduur","download_url":"https://codeload.github.com/shanduur/declarative-labels-sync-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240258178,"owners_count":19772969,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","github","github-actions","labels"],"created_at":"2024-11-09T10:49:26.529Z","updated_at":"2026-05-02T22:33:49.221Z","avatar_url":"https://github.com/shanduur.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Declarative Label Sync GitHub Action\n\n## Description\n\nThis GitHub Action syncs labels from a YAML file to a target repository. Labels are declared in a YAML file, and this action automates the process of synchronizing them with the target repository.\n\n## Inputs\n\n| Name                  | Description                                               | Required | Default Value           |\n|-----------------------|-----------------------------------------------------------|----------|-------------------------|\n| `owner`               | Owner of the target repository.                           | Yes      | N/A                     |\n| `repository`          | Target sync repository.                                   | Yes      | N/A                     |\n| `token`               | GitHub token used to sync labels.                         | Yes      | N/A                     |\n| `labels_declarations` | Location of the YAML file containing labels declarations. | Yes      | `./.github/labels.yaml` |\n\n## Usage\n\nHere's an example workflow that uses this GitHub Action:\n\n```yaml\nname: Sync\n\non:\n  push:\n    branches:\n      - main\n\npermissions: write-all\n\njobs:\n  sync-labels:\n    name: Labeles\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v3\n      - uses: shanduur/declarative-labels-sync-action@main\n        with:\n          owner: shanduur\n          repository: ${{ github.event.repository.name }}\n          token: ${{ secrets.GITHUB_TOKEN }}\n```\n\nThis example workflow triggers the label synchronization on each push to the main branch.\n\nMake sure to customize the inputs according to your needs.\n\n## License\n\nThis GitHub Action is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanduur%2Fdeclarative-labels-sync-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshanduur%2Fdeclarative-labels-sync-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshanduur%2Fdeclarative-labels-sync-action/lists"}