code: def main():
      # make sure we're always in the root of the repo, no matter from where the script is run
      os.chdir(ROOT_DIR)
      print(f"Running in {os.getcwd()}")
  
      with open(WORKFLOW) as f:
          contents = f.read()
  
      workflow = yaml.safe_load(contents)
  
      check_notebook_list(contents, workflow)
      check_needs_list(contents, workflow)
  
file_path: stellargraph/scripts/ci/validate_ci_workflow.py
imports: import yaml
  import sys
  import glob
  import os
  from collections import Counter
label_desc: Use image node_id 7 for calling a global function with example usage: main() without return types