phpstan-todo-by icon indicating copy to clipboard operation
phpstan-todo-by copied to clipboard

Allow triggering based on resolving an issue state in an outside issue-tracker

Open heiglandreas opened this issue 5 months ago • 2 comments

Currently I can trigger a PHPStan error when an issue in the configured repository is marked as fixed.

What we are doing often is creating workarounds in our code to compensate an issue in a dependency. I now would like to be able to trigger an error when the corresponding issue in the dependencies issue-tracker is fixed. Or when the PR in the dependencies VCS is merged.

Would an integration like that be possible?

heiglandreas avatar Jun 27 '25 12:06 heiglandreas

I now would like to be able to trigger an error when the corresponding issue in the dependencies issue-tracker is fixed. Or when the PR in the dependencies VCS is merged.

depends on what the issue tracker or the platform where the PR was done is.

if all is on github.com it should already work out of the box. it should also already work if the issue track in question is one of the built-in ones and necessary credentials are configured.

maybe you can make your example less abstract, then its easier to answer :)

staabm avatar Jun 27 '25 12:06 staabm

see e.g. this cross-repo example

staabm avatar Jun 27 '25 12:06 staabm