Repository navigation
Add bulk mailbox deletion #197
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: CI | |
| "on": | |
| push: | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: mailstack-${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| quality-and-security: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 30 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| cache: pip | |
| cache-dependency-path: mailbox-app/requirements/*.txt | |
| - name: System build dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| default-libmysqlclient-dev \ | |
| build-essential \ | |
| pkg-config | |
| - name: Python dependencies | |
| run: | | |
| python -m pip install --disable-pip-version-check \ | |
| -r mailbox-app/requirements/development.txt | |
| python -m pip check | |
| - name: Feature documentation policy | |
| env: | |
| DOCUMENTATION_BASE_SHA: ${{ github.event_name == 'pull_request' && github.event.pull_request.base.sha || github.event.before }} | |
| run: python scripts/check_documentation_policy.py --head "$GITHUB_SHA" | |
| - name: Dependency vulnerability audit | |
| run: python -m pip_audit --no-deps -r mailbox-app/requirements/locked.txt --progress-spinner off | |
| - name: Full repository forensic gate | |
| run: python scripts/forensic_audit.py --root . --profile repository --full |