Skip to content
This repository has been archived by the owner on May 20, 2024. It is now read-only.

Use "Linked issues"/"Linked pull requests" for has_issue/has_pr labels #1461

Open
mkrizek opened this issue Nov 5, 2020 · 1 comment
Open

Comments

@mkrizek
Copy link
Collaborator

mkrizek commented Nov 5, 2020

Currently we look at cross-referenced events to determine whether we add has_issue/has_pr but we do not know if those pull request references are considered as possible fixes to given issue (and vice versa) or if they just mention the issue/pr.

With the addition of "Linked issues" and "Linked pull requests" features in Github it might be a good time to re-evaluate implementation of how the bot adds has_issue/has_pr labels. Once the information is exposed in Github API we should investigate if we can make the detection better.

ansible/ansible#72377

@mkrizek
Copy link
Collaborator Author

mkrizek commented Feb 22, 2022

https://docs.github.com/en/graphql/reference/objects#pullrequest now has closingIssuesReferences.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant