pullsWithLabel = (pulls, label) => {
  return pulls.filter((pr) => {
    return pr.labels.nodes.some((lab) => lab.name === label);
  });
}
Retrieve pull requests that have a given label.

@param {Object[]} pulls The pull requests to check.
@param {string} label The label to check for.
@returns {Object[]} The pull requests that have the given label.