-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add support for multi repos #3
Comments
That's because the action updates itself by listening to the repo. From the example workflow file: on:
issues:
types: [closed]
pull_request_target:
types: [opened, edited] The action listens for new or edited PRs, parses out any blocking issues then waits. When an issue is closed, it checks if it was blocking any PRs and updates its status. If it can't listen for newly closed issues, this won't work, and PRs will forever stay blocked. If you could mark a PR as being blocked by an issue in another repo, the Action wouldn't have permissions to check that repo and you'd end up in the same trap. Alternatively, even if you did have permissions to both repos, it would still be infeasible to check every repo it knows about whenever any issue is closed. Cool use case, but sadly not supported. Closing, but feel free to continue or reopen with more feedback. |
Is there some way to link it to every repo in a github project? I imagine it might not be possible but wanted your opinion |
I actually just had that use case myself! I have a project with multiple repos representing different hardware applications, and some issues in the higher level repos need to wait for the lower level code to be in place first. Then, in the project view, we can filter on I'll add it to my to-do list, although I have some other priorities right now (including said project). It should be easier to do this than general cross-repo support, depending on what information the the projects API exposes. |
That would be great, would you create a new issue for this or re-open this one? I'd like to subscribe to it so I can use this when I can. I also don't have room for it with other priorties right now. |
Opened #20 to track this specific case because this issue is for any repository (possibly even those owned by someone else). |
It doesn't work if we add link to another repo
The text was updated successfully, but these errors were encountered: