I have applied this to my project.
And success to deleted but result is fail...
I found this message "TypeError: expected str, bytes or os.PathLike object, not NoneType"
....  
File "/application/main.py", line 15, in <module>
    io.format_output({'deleted_branches': deleted_branches})
  File "/application/src/io.py", line 38, in format_output
    with open(file_path, "a") as gh_output:
TypeError: expected str, bytes or os.PathLike object, not NoneType`
....Do you know why this message raised ?