Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label pull request based on the labels of linked issues #139

Open
wetneb opened this issue May 4, 2021 · 0 comments
Open

Label pull request based on the labels of linked issues #139

wetneb opened this issue May 4, 2021 · 0 comments
Labels
feature request New feature or request to improve the current logic needs eyes

Comments

@wetneb
Copy link

wetneb commented May 4, 2021

Our pull request template encourages users to link all pull requests to issues, which we spend quite some time labeling and triaging.

So it would be great if this action could be used to transfer labels from the linked issues to the pull request itself.

This would probably require that linked issues are exposed by the GitHub API, which does not seem to be the case currently: https://github.community/t/get-all-issues-linked-to-a-pull-request/14653/8

As a workaround one could parse the PR description, the commit messages and the PR events to extract the list of linked issues, but that is quite brittle.

If you'd be interested in this feature, please leave a comment on the discussion above, to make the interest in this feature clearer to GitHub.

@MaksimZhukov MaksimZhukov added the feature request New feature or request to improve the current logic label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request to improve the current logic needs eyes
Projects
None yet
Development

No branches or pull requests

2 participants