{"id":15771501,"url":"https://github.com/trstringer/require-label-prefix","last_synced_at":"2025-03-31T11:44:56.986Z","repository":{"id":40825754,"uuid":"508070263","full_name":"trstringer/require-label-prefix","owner":"trstringer","description":"GitHub Action to either warn or add a default label when no label with a prefix exists on an issue","archived":false,"fork":false,"pushed_at":"2022-07-12T22:55:20.000Z","size":28,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-03-14T21:42:10.859Z","etag":null,"topics":["devops","devops-tools","github","github-actions","issue-management","issues"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/trstringer.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}},"created_at":"2022-06-27T21:43:06.000Z","updated_at":"2023-02-28T19:16:46.000Z","dependencies_parsed_at":"2023-01-11T17:22:02.492Z","dependency_job_id":null,"html_url":"https://github.com/trstringer/require-label-prefix","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"1be29e66641a665b1243f6356f9fcdb374e99aaf"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Frequire-label-prefix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Frequire-label-prefix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Frequire-label-prefix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trstringer%2Frequire-label-prefix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trstringer","download_url":"https://codeload.github.com/trstringer/require-label-prefix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246465220,"owners_count":20781919,"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":["devops","devops-tools","github","github-actions","issue-management","issues"],"created_at":"2024-10-04T15:02:51.526Z","updated_at":"2025-03-31T11:44:56.962Z","avatar_url":"https://github.com/trstringer.png","language":"Go","readme":"# GitHub Action - Require Label Prefix\n\n[![CI](https://github.com/trstringer/require-label-prefix/actions/workflows/main.yaml/badge.svg)](https://github.com/trstringer/require-label-prefix/actions/workflows/main.yaml)\n\nUse this GitHub action to either warn or add a default label based on prefixes.\n\n## Usage\n\n```yaml\nsteps:\n  - uses: trstringer/require-label-prefix@v1\n    with:\n      secret: ${{ github.TOKEN }}\n\n      # prefix is set to whatever prefix you are trying to enforce. For\n      # instance, if you want to make sure size labels (e.g. \"size/S\", \"size/L\")\n      # are enforced, the prefix would be \"size\".\n      prefix: size\n\n      # The prefix is divided by the suffix by some separator. This defaults\n      # to \"/\" and is typically this, but it could be anything (e.g. \":\").\n      # labelSeparator: \"/\"\n\n      # addLabel, when set to \"true\", will label the issue with defaultLabel if\n      # the issue doesn't have a label with the prefix. If this is set to \"false\"\n      # then a label won't be added, there will just be a comment requesting that\n      # somebody adds a label with the labelPrefix.\n      # Options: \"true\", \"false\" (default).\n      # addLabel: false\n\n      # If addLabel is set, defaultLabel is the label that will be added if there\n      # is no label with this prefix already on the issue. E.g. \"size/needed\".\n      # defaultLabel: \"size/needed\"\n\n      # If you want to only comment on or label issues that are part of a milestone\n      # then you would set this to \"true\". Otherwise, all issues are evaluated.\n      # Options: \"true\", \"false\" (default).\n      # onlyMilestone: false\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Frequire-label-prefix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrstringer%2Frequire-label-prefix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrstringer%2Frequire-label-prefix/lists"}