checking if a PR has been merged by its closed state and comment 'merged'