Set UUID field defaults to None in serializers (#1824) #5746
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: wisdom-service - pre-commit | |
| on: | |
| push: | |
| # tags: | |
| # - v* | |
| branches: | |
| - main | |
| paths: | |
| - ansible_ai_connect/** | |
| - ansible_ai_connect_chatbot/** | |
| - ansible_ai_connect_admin_portal/** | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - ansible_ai_connect/** | |
| - ansible_ai_connect_chatbot/** | |
| - ansible_ai_connect_admin_portal/** | |
| permissions: | |
| contents: read | |
| jobs: | |
| pre-commit: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v3 | |
| - name: Set up python3 | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install .[dev] | |
| - name: Run pre-commit | |
| uses: pre-commit/action@v3.0.0 |