Make the script generate cancel_redundant_workflows.yml (#56092)
Summary:
This way, the user would just have to run the `regenerate_cancel_redundant_workflow.py` script to fix the inconsistency (instead of manual stuff).
Lots of the indentation changes were caused by regenerating the file, which I don't think is terrible, and ruamel.yaml did great at preserving comments and order and such!
Pull Request resolved: https://github.com/pytorch/pytorch/pull/56092
Reviewed By: samestep
Differential Revision: D27780877
Pulled By: janeyx99
fbshipit-source-id: dd2996a88cd70a83d8daac33ba6659f93add8b92