diff --git a/.github/codespell.sh b/.github/codespell.sh index 3266aabc..7c3c9038 100755 --- a/.github/codespell.sh +++ b/.github/codespell.sh @@ -7,7 +7,7 @@ echo "Running codespell on source code..." $CODESPELL --skip **/bindings.rs src || result=1 # assuming the main branch is there -for COMMIT in $(git rev-list main..); do +for COMMIT in $(git rev-list main.. --); do echo "Running codespell on commit message of $COMMIT..." git show --format=%B -s "$COMMIT" | $CODESPELL - || result=1 done