diff --git a/.github/workflows/test-without-model.yml b/.github/workflows/test-without-model.yml index 150dc21..3bef4f1 100644 --- a/.github/workflows/test-without-model.yml +++ b/.github/workflows/test-without-model.yml @@ -44,7 +44,7 @@ jobs: id: check_changes run: | MODEL_CHANGED=false - if git diff --name-only origin/${{ github.head_ref }} | grep -c ${{ env.WORKING_DIRECTORY }}/application/models/ > 0; then + if git diff --name-only HEAD | grep -c ${{ env.WORKING_DIRECTORY }}/application/models/ > 0; then echo $MODEL_CHANGED MODEL_CHANGED=true fi diff --git a/application/application/models/user.py b/application/application/models/user.py index 7a94421..9dc36fa 100644 --- a/application/application/models/user.py +++ b/application/application/models/user.py @@ -7,7 +7,7 @@ class User(AbstractUser): - """システムユーザModel""" + """システムユーザ""" username_validator = UnicodeUsernameValidator()