{"id":15010547,"url":"https://github.com/nodejs/node-pr-labeler","last_synced_at":"2025-10-19T22:30:51.737Z","repository":{"id":48663227,"uuid":"343212569","full_name":"nodejs/node-pr-labeler","owner":"nodejs","description":"GitHub Action used by the nodejs/node repository to automatically label pull requests","archived":false,"fork":false,"pushed_at":"2024-12-21T07:52:49.000Z","size":217,"stargazers_count":3,"open_issues_count":7,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-09-24T00:34:14.297Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://github.com/nodejs/node","language":"JavaScript","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/nodejs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"nodejs","open_collective":"nodejs"}},"created_at":"2021-02-28T20:55:11.000Z","updated_at":"2025-06-06T23:33:32.000Z","dependencies_parsed_at":"2025-05-26T02:21:54.074Z","dependency_job_id":"9625673b-821d-4d3f-a281-5afc1a7c70da","html_url":"https://github.com/nodejs/node-pr-labeler","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nodejs/node-pr-labeler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-pr-labeler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-pr-labeler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-pr-labeler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-pr-labeler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodejs","download_url":"https://codeload.github.com/nodejs/node-pr-labeler/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejs%2Fnode-pr-labeler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279927558,"owners_count":26245503,"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","status":"online","status_checked_at":"2025-10-19T02:00:07.647Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-09-24T19:34:41.795Z","updated_at":"2025-10-19T22:30:51.438Z","avatar_url":"https://github.com/nodejs.png","language":"JavaScript","funding_links":["https://github.com/sponsors/nodejs","https://opencollective.com/nodejs"],"categories":[],"sub_categories":[],"readme":"# node-pr-labeler\n\nGitHub Action applying labels to [nodejs/node pull requests](https://github.com/nodejs/node/pulls) based off of files have been changed.\n\n_Previously part of the [nodejs-github-bot](https://github.com/nodejs/github-bot). Extracted to make it easier for Node.js collaborators to maintain the label rules themselves._\n\n## Usage\n\nTwo parts are needed to make use of this Action:\n\n1. GitHub Action Workflow triggered by pull requests opened in the target repository\n2. A `.yml` configuration file declaring the rules for filepath -\u003e labels\n\n### 1. GitHub Action Workflow\n\n```yml\nname: Label PRs\n\non:\n  pull_request_target:\n    types: [opened]\n\njobs:\n  label:\n    runs-on: ubuntu-latest\n\n    steps:\n      - uses: nodejs/node-pr-labeler@v1\n        with:\n          configuration-path: .github/pr-labels.yml\n```\n\n### 2. `.yml` configuration with filepath -\u003e label rules\n\n[`.github/pr-labels.yml`](.github/pr-labels.yml) acts as an example and used in the test suite of this GitHub Action.\n\nThis configuration file is part of the using repository, allowing its collaborators to maintain the labelling rules, close to the source code they relate to.\n\n## License\n\n[MIT](https://opensource.org/licenses/MIT)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fnode-pr-labeler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodejs%2Fnode-pr-labeler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejs%2Fnode-pr-labeler/lists"}