-
Notifications
You must be signed in to change notification settings - Fork 5
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
"Pull request does not mention any issues" when mentioned issue is in different repository #126
Comments
Hey @Th3S4mur41, Thanks for filing an issue! I'll check this one out. |
It seems that the validator doesn't handle cases where issues aren't on the same repository. Will fix ASAP. |
Thanks @Namchee highly appreciate the quick feedback 👍 |
Hi @Th3S4mur41, I've just release |
Hmm, is the issue that you referenced belongs to a private organization / repository? If yes, can you ensure that the access token you provide is able to access to the issue? Try running this cURL script after replacing it with the correct tokens and repository metadata. |
Good hint... Running the script helped me figure out the issue. While I thought about using a PT instead of Now that the action is actually using my PT it is working as expected and considering issues from other repos in the org as valid. So problem fixed! Thanks!!! |
In an organization with multiple code repositories, we are using a single "roadmap" repository to handle the issues for the various projects.
Referencing the issue in GitHub is straighforward and can be done with keyword like:
closes organization/roadmap#46
The issue is automatically linked by GitHub under the "Development" section, just as an issue in the same repo would.
GitHub has also improved its UI lately so that creating a branch or a codespace in a different repo, or even linking a PR in a different repo from an issue can be done quite easily.
The action check fails though and is reporting that no issue is mentioned
The text was updated successfully, but these errors were encountered: