diff --git a/.github/workflows/copyright_notice.yml b/.github/workflows/copyright_notice.yml index 43fd020..442725d 100644 --- a/.github/workflows/copyright_notice.yml +++ b/.github/workflows/copyright_notice.yml @@ -25,9 +25,8 @@ jobs: if [ -n "$(git status --porcelain)" ]; then echo "there are changes"; + git commit -m "Add copyright notice" + git push else echo "no changes"; fi - git commit -m "Add copyright notice" - - name: Push changes - run: git push \ No newline at end of file