diff --git a/.github/workflows/update-cv.yaml b/.github/workflows/update-cv.yaml index 1b3e556..f815ee8 100644 --- a/.github/workflows/update-cv.yaml +++ b/.github/workflows/update-cv.yaml @@ -56,13 +56,13 @@ jobs: cd tables git diff --quiet . || echo "changed=true" >> $GITHUB_OUTPUT - #- name: Commit and push - # if: steps.verify_diff.outputs.changed == 'true' - # run: | - # cd tables - # git config --local user.email "github-actions[bot]@users.noreply.github.com" - # git config --local user.name "github-actions[bot]" - # (pre-commit run --all-files) || true - # git commit Tables/CORDEX_CV.json -m "CV update" - # git status - # git push + - name: Commit and push + if: steps.verify_diff.outputs.changed == 'true' + run: | + cd tables + git config --local user.email "github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" + (pre-commit run --all-files) || true + git commit Tables/CORDEX_CV.json -m "CV update" + git status + git push