code: def main():
      args = parse_args()
      changed_files = []
      per_page = 100
      page = 1
      token = os.environ.get("GITHUB_TOKEN")
      headers = {"Authorization": f"token {token}"} if token else {}
      # Ref: https://docs.github.com/en/rest/reference/pulls#list-pull-requests-files
      url = f"https://api.github.com/repos/{args.repository}/pulls/{args.pr_num}/files"
      while True:
          full_url = f"{url}?per_page={per_page}&page={page}"
          req = urllib.request.Request(full_url, headers=headers)
          with urllib.request.urlopen(req) as resp:
              files = json.loads(resp.read().decode())
          changed_files.extend(f["filename"] for f in files)
          if len(files) < per_page:
              break
          page += 1
  
      print("\n".join(changed_files))
  
imports: import argparse
  import json
  import os
  import urllib.request
label_desc: Use image node_id 2 for calling a global function with example usage: main() without return types