Runs on both push and pull. Your project's .gitignore file either does not exist or does not contain rules to ignore .env and .env.* files.
- .gitignore file does not exist in the project root
- .gitignore exists but does not contain .env as a rule
- The .gitignore is in a parent directory but not in the project root where you are running the command
Add the following lines to your .gitignore in the project root and re-run:
.env .env.*