question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add labels based of the pull request author

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:5
  • Comments:6

github_iconTop GitHub Comments

1reaction
tillydraycommented, Dec 7, 2022

I am going to take a stab at this, seems straightforward but any help is appreciated. Also if someone else is already working on this, let me know

1reaction
drummerjolevcommented, Jan 4, 2022

This may be helpful for some of you: https://github.com/marketplace/actions/team-label-action

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating and Adding Labels to GitHub Pull Requests and Issues
In this guide, we'll show you different ways to create labels and add them to your pull requests. Patrick Londa. Author. Oct 19,...
Read more >
Managing labels - GitHub Docs
You can manage your work on GitHub by creating labels to categorize issues, pull requests, and discussions. You can apply labels in the...
Read more >
Add useful labels to your Pull Requests with Github Actions
3 useful labels to automatically add to your pull request using Github Actions. ... The writer will receive a portion of your membership...
Read more >
Automation of adding labels to pull requests on GitHub - Medium
Appropriate labels to pull requests can provide additional information about the content of the pull requests and can simplify workflow.
Read more >
Better Pull Request Management with Custom Labels
At some point, the PR should be good to go. To help avoid any ambiguity in state, the reviewer should mark the PR...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found