Add labels based of the pull request author

Open
#100 15 comments 37 reactions 0 assignees View on GitHub

@fm1randa is already working on this.

Since May 10, 2023.

  • #563 by @fm1randa — open

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
github-actions, typescript
Domain
ci-cd, tooling

Research direction

Start by reviewing linked pull request #563 and the existing file-glob configuration described in the issue. The requested behavior is a YAML form that applies labels based on pull request author handles or teams, with a clear distinction from file globs; completion should be checked against that use case.

Written by the indexing model from the issue text.

Description

feature request

I have a use-case with a common repository in which many different teams are contributing and I would like to set a label based on team the person belongs to.

The way I see it can be done is very similar to the file globs, but need to somehow distinguish between file globs and user handles:

label-to-apply:
 - user1
 - user2
 - user3
Dominant language
TypeScript
Stars
2.5k
Forks
488
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from actions/labeler

All issues in actions/labeler

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.