Resulting CLI options --skip *.svg
Warning: WARNING: Decoding file using encoding=utf-8 failed: ./.git/objects/1e/a4a450299271c0a5e69bc79e1cb4a8771b34da
Error: ./.git/objects/1e/a4a450299271c0a5e69bc79e1cb4a8771b34da:755: ot ==> to, of, or, not
WARNING: Trying next encoding iso-8859-1
Warning: WARNING: Decoding file using encoding=utf-8 failed: ./.git/objects/78/f14c2775affc5ed4fcd819b66ff5bfd[15](https://github.com/datalad/tutorials/actions/runs/3696668759/jobs/6260675265#step:4:16)92806
WARNING: Trying next encoding iso-8859-1
Warning: WARNING: Decoding file using encoding=utf-8 failed: ./.git/objects/fb/52afd8fb6f45744569797c8ef1d1b7b1dbace0
WARNING: Trying next encoding iso-8859-1
3
Error: ./.git/objects/1e/a4a450299271c0a5e69bc79e1cb4a8771b34da:838: Te ==> The, Be, We, To
Error: ./.git/objects/1e/a4a450299271c0a5e69bc79e1cb4a8771b34da:911: nd ==> and, 2nd
Codespell found one or more problems
doesn't happen for me locally... but looking at strace -- indeed codespell does go under .git/ to "sniff around":
ideally should be fixed in codespell itself (to not consider at least .git/objects, some scripts might be under .git/) but I think it should be safe to assume that codespell action for github should not check anything in .git/ since there should be nothing committed / to fix there.
I guess finds some uncompressed objects it identifies as text files and starts checking them
this basic workflow https://github.com/datalad/tutorials/pull/20/files#diff-ce84a1b2c9eb4ab3ea22f610cad7111cb9a2f66365c3b24679901376a2a73ab2 lead to
doesn't happen for me locally... but looking at strace -- indeed
codespell
does go under.git/
to "sniff around":ideally should be fixed in
codespell
itself (to not consider at least.git/objects
, some scripts might be under.git/
) but I think it should be safe to assume thatcodespell
action for github should not check anything in .git/ since there should be nothing committed / to fix there.edit: workaround -- add
.git
to--skip
i.e.comes out empty handed