Closed larsoner closed 11 months ago
Thanks for the clear repro! 🍰 This is indeed a bug in the action Javascript. We're tripping on the fact that
git diff --name-only --staged
only returns 12318.other.rst
, not other.rst
.
This should be fixed now, thanks again!
See this PR in my project where I'm trying to implement a
git mv
on a file based on its name -- first I tried what is basically:in my code followed by
autofix.ci/action
, butother.rst
stuck around after the action. Then I tried plainmv
and the same thing happened. See this Actions run where themv
is done:https://github.com/mne-tools/mne-python/actions/runs/7292596505/job/19873926695#step:5:12
followed by the
autofix.ci
commit that only adds a file , does not delete the old one -- and should reallygit mv
it:https://github.com/mne-tools/mne-python/pull/12318/commits/c94ee0567b39db0e665e914755e3938830c2c1bc