diff --git a/.github/workflows/test-without-model.yml b/.github/workflows/test-without-model.yml index 57b2979..a0fdc3b 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 | grep -q ${{ env.WORKING_DIRECTORY }}/application/models/; then + if git diff --name-only | grep -c ${{ env.WORKING_DIRECTORY }}/application/models/; > 0 then echo $MODEL_CHANGED MODEL_CHANGED=true fi diff --git a/0 b/0 new file mode 100644 index 0000000..573541a --- /dev/null +++ b/0 @@ -0,0 +1 @@ +0 diff --git a/application/application/models/user.py b/application/application/models/user.py index 9dc36fa..7a94421 100644 --- a/application/application/models/user.py +++ b/application/application/models/user.py @@ -7,7 +7,7 @@ class User(AbstractUser): - """システムユーザ""" + """システムユーザModel""" username_validator = UnicodeUsernameValidator()