Closed rsamborski closed 11 months ago
// @hyperupcall
I am able to reproduce - working on a fix
This broke linting because the code did not take into account that HEAD
may not point to a branch - it could be in a detached state. And this commonly occurs in Github Actions when @actions/checkout
is used to clone a repository.
The linked issue fixes this by:
clone.defaultRemoteName
origin
(the original default)@hyperupcall Thank you for a super fast fix. I have tested and confirmed that v0.18.5 works correctly with our repository.
Latest v0.18.4 release seems to have broken linting of code coming in from forks, examples:
As a workaround I had to lock to previous version (v0.18.3) which passes correctly - see here