{"id":15022207,"url":"https://github.com/julienkode/team-labeler-action","last_synced_at":"2026-05-30T23:00:49.282Z","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":"2026-05-09T09:21:56.000Z","size":120721,"stargazers_count":50,"open_issues_count":0,"forks_count":44,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-24T18:05:07.950Z","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-29T15:24:39.000Z","updated_at":"2026-05-09T09:21:59.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":10,"template":false,"template_full_name":null,"purl":"pkg:github/JulienKode/team-labeler-action","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","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JulienKode%2Fteam-labeler-action/sbom","scorecard":{"id":75595,"data":{"date":"2025-08-11","repo":{"name":"github.com/JulienKode/team-labeler-action","commit":"7f7fcb9ce4adbe98b985534948cff9fd6d3bc33e"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 1/4 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":10,"reason":"28 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/build.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/build.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/JulienKode/team-labeler-action/build.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/JulienKode/team-labeler-action/test.yml/master?enable=pin","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'","Warn: branch protection not enabled for branch 'release/v2.0.0'","Warn: branch protection not enabled for branch 'release/1.2.0'","Warn: branch protection not enabled for branch 'releases/v0.1.0'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-15T04:44:02.452Z","repository_id":36917150,"created_at":"2025-08-15T04:44:02.452Z","updated_at":"2025-08-15T04:44:02.452Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33712579,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"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":["actions","github","github-actions","javascript","labeler-action","pull-request","teams","typescript","workflow"],"created_at":"2024-09-24T19:57:38.551Z","updated_at":"2026-05-30T23:00:49.273Z","avatar_url":"https://github.com/JulienKode.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"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### GitHub Team Support\n\nYou can also use GitHub team names to automatically apply labels based on team membership. To do this:\n\nInclude team names in your configuration using the format `@organization/team-slug`:\n\n```yaml\nFrontendTeam:\n  - '@YourOrg/frontend'\n  \nBackendTeam:\n  - '@YourOrg/backend'\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\n  issues: write # Necessary to create the labels if they do not exist yet.\njobs:\n  team-labeler:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: JulienKode/team-labeler-action@v3.0.0\n      with:\n        repo-token: \"${{ secrets.GITHUB_TOKEN }}\"\n        # Optional: Add if you want to use GitHub team-based labeling\n        org-token: \"${{ secrets.ORG_TOKEN }}\"\n```\n\n## Required Permissions\n\n1. **For basic functionality**, the workflow needs:\n   - `contents: read`\n   - `pull-requests: write` (to apply labels to pull requests)\n   - `issues: write` (to apply labels to issues and create labels if they do not exist yet)\n\n2. **For GitHub team integration**, you need to:\n   - Create a Personal Access Token with `read:org` permission\n   - Add this token as a repository secret (e.g., `ORG_TOKEN`)\n   - Pass this token to the action using the `org-token` parameter\n\n\u003e Note: While the `issues:write` permission does allow for creating labels through GitHub's API.\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"}