diff --git a/.github/workflows/on-commits.yml b/.github/workflows/on-commits.yml index 0b8e82fb..435ffa96 100644 --- a/.github/workflows/on-commits.yml +++ b/.github/workflows/on-commits.yml @@ -73,7 +73,7 @@ jobs: git add config/blobs.yml git status - if git commit -a --dry-run;then + if git commit -a --dry-run 2>&1 >/dev/null;then git commit -a -m "updating blobs" && \ git push ${remote_repo} HEAD:master else