Get state for pull requests