Skip to content

Team Labeler Action 👥

buildtestGitHub issuesGitHub forksGitHub starsGitHub licenseWatch on GitHubTweet

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.

example

Configuration

Create .github/teams.yml

You need to provide a yml file that contains members of your teams:

LightSide:
- '@Yoda'
- '@Luke'DarkSide:
- '@DarkVador'
- '@Palpatine'

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. The action can be used as such:

on: pull_requestname: team-labeljobs:
team-labeler:
runs-on: ubuntu-lateststeps:
- uses: JulienKode/team-labeler-action@v0.1.0with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"

About

⚡️ Github action to label your pull requests based on the author name ⚡️

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages