How do I make an workflow job only trigger on pull request comments?

Is it possible to make an workflow job (e.g. this one) only trigger on pull request comments and not on issue comments?

If no, what if-else expression for GitHub Actions should I use for handling these cases?

Sorry for the noise! I may forgot to read the docs, so my apologies again.