act fails to correctly parse the .git/config file, it produces errors such as illegal character U+002E '.' and then fails to set
GITHUB_REPOSITORY which leads to other errors, such as artifact upload not working.
I've seen the same issue with branches in the .git/config. After removing all local branches except the main branch the artifact upload was working again.
Bug report info
Command used with act
Describe issue
My
.git/config
contains the following setting:act fails to correctly parse the
.git/config
file, it produces errors such asillegal character U+002E '.'
and then fails to setGITHUB_REPOSITORY
which leads to other errors, such as artifact upload not working.Link to GitHub repository
No response
Workflow content
Relevant log output
Additional information
As a workaround, removing the
[mergetool.emacsdiff]
section fixes the issue.