refactor pull_requests action
use decorator class for clarity of parsing PRs