code: def create_markdown_from_pull_request_data(data, version_name=None):
      version_name = "VERSION" if version_name is None else version_name
      markdown = f"""[comment]: # (Version_start)
  ## {version_name}\nThe following PRs have been merged since the last version.\n\n"""
  
      # add contributers with their contributions sorted by most contributions
      sorted_data = sorted(
          data.items(), key=lambda x: len(x[1]), reverse=True
      )
      for author, pull_requests in sorted_data:
          markdown += author + "\n"
          for pull_request in pull_requests:
              markdown += f"  - [{pull_request['title']}]({clean_comment_url(pull_request['url'])}) (#{pull_request['id']})\n"
          markdown += "\n"
      # add thank you notice
      markdown += (
          "**Thank you to all contributers: "
          + ", ".join([f"@{entry[0]}" for entry in sorted_data])
          + "**"
          + "\n\n[comment]: # (Version_end)\n\n"
      )
      return markdown
  
file_path: icevision/update_changelog.py
imports: import argparse
  from io import StringIO
  import json
  from github import Github
label_desc: Use image node_id 5 for calling a global function with example usage: create_markdown_from_pull_request_data(data, version_name) and returns: markdown