diff --git a/.github/workflows/codegen.yml b/.github/workflows/codegen.yml index d78a3100..dcaf20ba 100644 --- a/.github/workflows/codegen.yml +++ b/.github/workflows/codegen.yml @@ -30,4 +30,4 @@ jobs: run: make generate - name: ensure no changes run: | - [ -z git status --porcelain=v1 > 2>/dev/null ] || git status --porcelain=v1 && echo "Modified files detected, run 'make generate'" && exit 1 + [ -z git status --porcelain=v1 2>/dev/null ] || git status --porcelain=v1 && echo "Modified files detected, run 'make generate'" && exit 1