name: CI on: push: branches: - main paths-ignore: - pyproject.toml pull_request: branches: - main jobs: commit-lint: if: ${{ github.event_name == 'pull_request' }} uses: ./.github/workflows/commitlint.yml lint: uses: ./.github/workflows/lint.yml test: uses: ./.github/workflows/test.yml