While running workflow, I see that harness is erroring out trying to fetch repo that does not match to the branch name I am referring to.
eg
i have a branch name a-b-c-d and a-b-c
While the work flow is running using helm service, and fetching the git repo using the git connector,
it is trying to fetch a-b-c instead of a-b-c-d, deleting the branch a-b-c and running the workflow again pulls down the correct branch.
ERROR 2022-11-24 15:06:22 Exception in processing GitFetchFilesTask. Reason: Failed while fetching files for Branch: a-b-c-d, FilePaths: Reason: Malformed input or input contains unmappable characters: ./repository/gitFileDownloads/hW63Ny6rQaaGsKkVjE0pJA/jSU6uZ54TZ2LwCKpc2b4tA/9a802d220d80b7a6cce2ec53d6bf76b49e0f6280/.git/refs/remotes/origin/a-b-c , ,
ERROR 2022-11-24 15:06:22 Root Cause: io.harness.exception.YamlException: Failed while fetching files for Branch: a-b-c-d, FilePaths:
Reason: Malformed input or input contains unmappable characters: ./repository/gitFileDownloads/hW63Ny6rQaaGsKkVjE0pJA/jSU6uZ54TZ2LwCKpc2b4tA//9a802d220d80b7a6cce2ec53d6bf76b49e0f6280/.git/refs/remotes/origin/a-b-c,