action code: https://github.com/arkid15r/check-pr-issue-action and an example config https://github.com/OWASP/Nest/blob/main/.github/workflows/check-pr-issue.yaml for cleaning bot created PR or those without any communications.