{"id":18952259,"url":"https://github.com/step-security/pr-labeler-action","last_synced_at":"2025-04-16T01:33:26.240Z","repository":{"id":210615973,"uuid":"726843455","full_name":"step-security/pr-labeler-action","owner":"step-security","description":"Automatically labels your PRs based on branch name patterns like feature/* or fix/*","archived":false,"fork":false,"pushed_at":"2025-03-24T00:24:55.000Z","size":2220,"stargazers_count":2,"open_issues_count":13,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T01:26:45.418Z","etag":null,"topics":["step-security-maintained-actions"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/step-security.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-03T15:12:15.000Z","updated_at":"2025-03-17T11:48:10.000Z","dependencies_parsed_at":"2023-12-04T04:21:37.103Z","dependency_job_id":"e599785a-1e5c-4821-bad1-23febeec6ded","html_url":"https://github.com/step-security/pr-labeler-action","commit_stats":null,"previous_names":["step-security/pr-labeler-action"],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fpr-labeler-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fpr-labeler-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fpr-labeler-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/step-security%2Fpr-labeler-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/step-security","download_url":"https://codeload.github.com/step-security/pr-labeler-action/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249182517,"owners_count":21226082,"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":["step-security-maintained-actions"],"created_at":"2024-11-08T13:32:15.307Z","updated_at":"2025-04-16T01:33:25.854Z","avatar_url":"https://github.com/step-security.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StepSecurity Maintained `pr-labeler` Action\n\nForked from [TimonVS/pr-labeler-action](https://github.com/TimonVS/pr-labeler-action)\n\nA GitHub Action that automatically applies labels to your PRs based on branch name patterns like `feature/*` or `fix/*`.\nCan be used in combination with [Release Drafter](https://github.com/toolmantim/release-drafter) to automatically [categorize pull requests](https://github.com/toolmantim/release-drafter#categorize-pull-requests).\n\n## Usage\n\nAdd `.github/workflows/pr-labeler.yml` with the following:\n\n```yml\nname: PR Labeler\non:\n  pull_request:\n    types: [opened]\n\npermissions:\n  contents: read\n\njobs:\n  pr-labeler:\n    permissions:\n      contents: read\n      pull-requests: write\n    runs-on: ubuntu-latest\n    steps:\n      - uses: step-security/pr-labeler-action@v5\n        with:\n          repo-token: ${{ secrets.GITHUB_TOKEN }}\n          configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value\n```\n\n## Configuration\n\nConfigure by creating a `.github/pr-labeler.yml` file.\n\nFor example:\n\n```yml\nfeature: ['feature/*', 'feat/*']\nfix: fix/*\nchore :hammer:: chore/*\n```\n\nThen if a pull request is opened with the branch name `feature/218-add-emoji-support` the Action will automatically apply the `feature` label.\n\nSimilarly, if a pull requests is opened with the branch name `fix/weird-bug` or `chore/annual-refactoring-job`, the Action will apply the `fix` or `chore 🔨` label, respectively.\n\nIf the label does not exist in your repo, a new one will be created (with no color and blank description), but it will not be permanently saved to the `github.com/\u003cyour_repo\u003e/labels` page.\n\n### Wildcard branches in configuration\n\nYou can use `*` as a wildcard for matching multiple branch names. See https://www.npmjs.com/package/matcher for more information about wildcard options.\n\n### Default configuration\n\nWhen no configuration is provided, the following defaults will be used:\n\n```yml\nfeature: ['feature/*', 'feat/*']\nfix: 'fix/*'\nchore: 'chore/*'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Fpr-labeler-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstep-security%2Fpr-labeler-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstep-security%2Fpr-labeler-action/lists"}