You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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's issue 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?
The text was updated successfully, but these errors were encountered:
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:
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?
The text was updated successfully, but these errors were encountered: