Syntax error while pushing changes from Rasa-x

While pushing changes to github from rasa-x (UI). Changes or addition of nlu data or addition of domain file data or any other files data while pushing those changes to github to train the model syntax errors are occurring errors are mostly related to:

  • Rasa X is adding text: | before every sentence. So look like these: - text: | Nono instead of - Nono
  • Rasa X is changing indentation of the intents where I add more information.
  • Rasa X is changing the keyword examples: |, is deleting the |, so is showing examples: