JulienKode/team-labeler-action


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

https://github.com/marketplace/actions/team-labeler-action

License: Apache-2.0

Language: TypeScript

Keywords: actions, github, github-actions, javascript, pull-request, teams, typescript


Actions Status

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

Team Labeler Action 👥

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-request
name: team-label
jobs:
  team-labeler:
    runs-on: ubuntu-latest
    steps:
    - uses: JulienKode/team-labeler-action@v0.1.0
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"

Project Statistics

Sourcerank 3
Repository Size 986 KB
Stars 0
Forks 0
Watchers 1
Open issues 1
Dependencies 615
Contributors 2
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Julien K renovate[bot]

Recent Tags See all

v0.1.0 December 29, 2019

Something wrong with this page? Make a suggestion

Last synced: 2019-12-30 17:58:20 UTC

Login to resync this repository