-
Notifications
You must be signed in to change notification settings - Fork 73
Open
Labels
Type: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs
Description
What’s missing?
When getting information for a pull request, I cannot seem to determine what Projects the PR belongs to. I can find things like milestone
but not projects.
Why?
I want to write an Action to require all PRs belong to a GitHub Project.
Alternatives you tried
My current workaround is as follows:
- get a list of all "open" projects for the repository
- for each open project, get a list of all columns
- for each column, get a list of all cards
- compare EACH card (there are MANY) and look at the card's
content_url
and compare it to a PR'sissue
link.
This seems very overkill! Is there another way?
We are using Projects (Classic) by the way... so wondering if that API is on its way out regardless?
Metadata
Metadata
Assignees
Labels
Type: SupportAny questions, information, or general needs around the SDK or GitHub APIsAny questions, information, or general needs around the SDK or GitHub APIs