Skip to content

Create a default organization member object for superusers when no member exists in the database. #9631

Create a default organization member object for superusers when no member exists in the database.

Create a default organization member object for superusers when no member exists in the database. #9631

name: Pre-commit checks
on: [push, pull_request]
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
id: py311
with:
python-version: 3.11
cache: pip
- name: Install pip dependencies
run: pip install -r requirements-dev.txt
- uses: actions/cache@v3
with:
path: ~/.cache/pre-commit
key: pre-commit|${{ steps.py311.outputs.python-version }}|${{ hashFiles('.pre-commit-config.yaml') }}
- name: Run pre-commit
run: pre-commit run --all-files --show-diff-on-failure --color always