> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/troubleshooting-and-resources/armory/general/dinghy-github-status-is-always-failed-when-using-yaml-parser.md).

# Dinghy github status is always failed when using YAML parser

### Issue <a href="#issue" id="issue"></a>

When utilizing YAML parser for Dinghyfile, any pull request on a feature branch in Github gets a status update by Dinghy which is always failed with message: `UpdateDinghyfile malformed syntax: [Error in line 1, char 0: invalid character 'a' looking for beginning of value\napplication: core-accounts-spinnakeryamltest-sys # no spaces here, must be alphanumeric]`

### Cause <a href="#cause" id="cause"></a>

This happens because Dinghy code first tries to parse Dinghyfile using JSON parser which fails and then does parsing with YAML parser. This successfully renders the pipeline but gives a false failure on Github pull request status.
