{"id":13529639,"url":"https://github.com/JulienKode/team-labeler-action","last_synced_at":"2025-04-01T17:30:35.042Z","repository":{"id":36917150,"uuid":"230768285","full_name":"JulienKode/team-labeler-action","owner":"JulienKode","description":"⚡️ Github action to label your pull requests based on the author name ⚡️","archived":false,"fork":false,"pushed_at":"2025-03-16T12:51:35.000Z","size":55661,"stargazers_count":49,"open_issues_count":8,"forks_count":43,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-16T13:34:16.801Z","etag":null,"topics":["actions","github","github-actions","javascript","labeler-action","pull-request","teams","typescript","workflow"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/team-labeler-action","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JulienKode.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-29T15:24:39.000Z","updated_at":"2025-03-16T12:51:37.000Z","dependencies_parsed_at":"2024-01-10T23:02:19.640Z","dependency_job_id":"0ec1883c-c34d-406b-94e8-f5aa9dc25a71","html_url":"https://github.com/JulienKode/team-labeler-action","commit_stats":{"total_commits":230,"total_committers":11,"mean_commits":20.90909090909091,"dds":"0.23043478260869565","last_synced_commit":"bc1bdcbbaff347d6a1de9ec98176ea74ec25fb3e"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienKode%2Fteam-labeler-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienKode%2Fteam-labeler-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienKode%2Fteam-labeler-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienKode%2Fteam-labeler-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JulienKode","download_url":"https://codeload.github.com/JulienKode/team-labeler-action/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244565632,"owners_count":20473311,"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":["actions","github","github-actions","javascript","labeler-action","pull-request","teams","typescript","workflow"],"created_at":"2024-08-01T07:00:38.123Z","updated_at":"2025-04-01T17:30:34.602Z","avatar_url":"https://github.com/JulienKode.png","language":"TypeScript","funding_links":[],"categories":["Community Resources"],"sub_categories":["GitHub Tools and Management"],"readme":"# Team Labeler Action 👥\n\n[![build](https://github.com/JulienKode/team-labeler-action/workflows/build/badge.svg)](https://github.com/JulienKode/team-labeler-action/actions)\n[![test](https://github.com/JulienKode/team-labeler-action/workflows/test/badge.svg)](https://github.com/JulienKode/team-labeler-action/actions)\n[![GitHub issues](https://img.shields.io/github/issues/JulienKode/team-labeler-action?style=flat-square)](https://github.com/JulienKode/team-labeler-action/issues)\n[![GitHub forks](https://img.shields.io/github/forks/JulienKode/team-labeler-action?style=flat-square)](https://github.com/JulienKode/team-labeler-action/network)\n[![GitHub stars](https://img.shields.io/github/stars/JulienKode/team-labeler-action?style=flat-square)](https://github.com/JulienKode/team-labeler-action/stargazers)\n[![GitHub license](https://img.shields.io/github/license/JulienKode/team-labeler-action?style=flat-square)](https://github.com/JulienKode/team-labeler-action/blob/master/LICENSE)\n[![Watch on GitHub](https://img.shields.io/github/watchers/JulienKode/team-labeler-action.svg?style=social)](https://github.com/JulienKode/team-labeler-action/watchers)\n[![Tweet](https://img.shields.io/twitter/url/https/github.com/JulienKode/team-labeler-action.svg?style=social)](https://twitter.com/intent/tweet?text=Checkout%20this%20library%20https%3A%2F%2Fgithub.com%2FJulienKode%2Fteam-labeler-action)\n\nThis repository provides a **GitHub action** to automatically **team label** on a **pull request** based author team.\nThis is useful if multiple team are working on the same project.\n\n![example](./assets/example.png)\n\n## Configuration\n\n### Create `.github/teams.yml`\n\nYou need to provide a yml file that contains members of your teams:\n\n```yaml\nLightSide:\n  - '@Yoda'\n  - '@Luke'\n\nDarkSide:\n  - '@DarkVador'\n  - '@Palpatine'\n```\n\n## Usage\n\n### Create `.github/workflows/team-labeler.yml`\n\nCreate a workflow (eg: `.github/workflows/team-labeler.yml` see [Creating a Workflow file](https://help.github.com/en/articles/configuring-a-workflow#creating-a-workflow-file)) to utilize the labeler action.\nThis action only needs the GITHUB_TOKEN secret as it interacts with the GitHub API to modify labels. It's working for pull request and issues. The action can be used as such:\n\n```yaml\non:\n  pull_request:\n  issues:\nname: team-label\npermissions:\n  contents: read\n  pull-requests: write\njobs:\n  team-labeler:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: JulienKode/team-labeler-action@v1.1.0\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulienKode%2Fteam-labeler-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJulienKode%2Fteam-labeler-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJulienKode%2Fteam-labeler-action/lists"}