{"repo":"JulienKode/team-labeler-action","free":true,"listed":false,"github":"https://github.com/JulienKode/team-labeler-action","clone":"git clone https://github.com/JulienKode/team-labeler-action.git","description":"⚡️ Github action to label your pull requests based on the author name ⚡️","language":"TypeScript","stars":50,"topics":["github","actions","github-actions","teams","javascript","typescript","pull-request","labeler-action","workflow"],"license":"Apache-2.0","category":"workflow-automation","readme_excerpt":"Team Labeler Action 👥 This repository provides a GitHub action to automatically team label on a pull request based author team. This is useful if multiple team are working on the same project. Configuration Create .github/teams.yml You need to provide a yml file that contains members of your teams: GitHub Team Support You can also use GitHub team names to automatically apply labels based on team membership. To do this: Include team names in your configuration using the format @organization/team-slug : Usage Create .github/workflows/team-labeler.yml Create a workflow (eg: .github/workflows/team-labeler.yml see Creating a Workflow file) to utilize the labeler action. This 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: Required Permissions 1. For basic functionality , the workflow needs: - contents: read - pull-requests: write (to apply labels to pull requests) - issues: write (to apply labels to issues and create labels if they do not exist yet) 2. For GitHub team integration , you need to: - Create a Personal Access Token with read:org permission - Add this token as a repository secret (e.g., ORG TOKEN ) - Pass this token to the action using the org-token parameter Note: While the issues:write permission does allow for creating labels through GitHub's API.","default_branch":null,"files":null,"tree":[],"storefront":"/r/JulienKode","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JulienKode/team-labeler-action/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}