diff --git a/.github/workflows/copyright_notice.yml b/.github/workflows/copyright_notice.yml index ddc45b8..4a9f45b 100644 --- a/.github/workflows/copyright_notice.yml +++ b/.github/workflows/copyright_notice.yml @@ -22,6 +22,12 @@ jobs: git config --local user.email "bustikiller@bustikiller.com" git config --local user.name "Manuel Bustillo" git add . + + if [ -n "$(git status --porcelain)" ]; then + echo "there are changes"; + else + echo "no changes"; + fi git commit -m "Add copyright notice" - name: Push changes run: git push \ No newline at end of file