refactor(pyright.yml): rename some steps for clarity
fix(pyright.yml): change the way of activating virtual environment to ensure correct Python environment is used
style(pyright.yml): add newline at end of file to adhere to POSIX standards
refactor(pyright.yml): rename some steps for clarity and better understanding
feat(pyright.yml): add Prisma Client generation step to the workflow
fix(pyright.yml): specify working directory, python platform and version for Pyright action to ensure correct environment setup
fix(pyright.yml): remove unnecessary steps and parameters for poetry installation to improve workflow efficiency
feat(pyright.yml): use pipx for poetry installation to ensure isolation of python packages
This commit adds a new GitHub action workflow for Pyright, a static type checker for Python. The workflow is triggered on push and pull request events. It sets up Python, installs Poetry and project dependencies, and runs Pyright for type checking. This will help improve code quality by catching type errors before they are merged into the main branch.
- Increase columns_per_row to 8 for better visual organization
- Enable use_username to display contributor's username
- Set collaborators to 'all' to include all contributors in the list
fix(loc.yml): change 'ls -al' to 'ls -alR' for recursive directory listing in debugging step
refactor(loc.yml): remove 'exclude_lang' option as it's no longer needed
feat: add dependabot.yml for weekly updates of GitHub Actions
chore: update Python version from 3.11 to 3.12 in .mise.toml and pyproject.toml
chore: update various dependencies in pyproject.toml to their latest versions
feat: add dependency-review.yml for automated dependency review on pull requests and weekly schedule
feat: add docker-compose.yml for setting up bot and postgres services in Docker environment
refactor(schema.prisma): change InfractionType from enum to string for flexibility
refactor(schema.prisma): make created_at fields nullable and default to now() for better data consistency
refactor(database/controllers.py): rename find_users and find_user to get_all_users and get_user_by_id for better readability
feat(database/controllers.py): add InfractionsController and SnippetsController to handle infractions and snippets related operations
refactor(database/controllers.py): move InfractionType enum to controllers.py for better organization
This change is necessary to grant the necessary permissions for the GitHub Actions workflow to perform write operations on contents, issues, and pull-requests.
This new workflow will run on every push except for the main, master, dev, development, and release branches. It sets up a Node.js environment, checks out the code, and runs the OpenCommit action. This action uses the OpenAI API to generate commit messages based on the changes made. The API key and other settings are configurable through environment variables.