chore(deps): bump next from 15.3.8 to 15.5.15 in /frontend/apps/docs-site #2
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: Pull Request Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| types: | |
| - opened | |
| - edited | |
| - synchronize | |
| - reopened | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| validate-pr: | |
| runs-on: ubuntu-latest | |
| name: Validate PR title and branch | |
| steps: | |
| - name: Check branch naming | |
| run: | | |
| BRANCH_NAME="${{ github.head_ref }}" | |
| # Skip branch naming check for long-lived branches | |
| if [[ "$BRANCH_NAME" == "develop" ]]; then | |
| echo "✅ Branch 'develop' is a long-lived branch - skipping naming convention check" | |
| exit 0 | |
| fi | |
| VALID_PREFIXES="^(feature|feat|fix|hotfix|security|chore|deps|docs|test|refactor|ci)/" | |
| if [[ ! "$BRANCH_NAME" =~ $VALID_PREFIXES ]]; then | |
| echo "❌ Branch name '$BRANCH_NAME' does not follow naming convention." | |
| echo "Branch names should start with: feature/, feat/, fix/, hotfix/, security/, chore/, deps/, docs/, test/, refactor/, or ci/" | |
| exit 1 | |
| fi | |
| echo "✅ Branch name follows naming convention" | |
| frontend-checks: | |
| runs-on: ubuntu-latest | |
| name: Frontend basic checks | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Bun | |
| uses: oven-sh/setup-bun@v2 | |
| with: | |
| bun-version: 1.3.0 | |
| - name: Install dependencies | |
| run: bun run setup:github | |
| - name: Run svelte-check | |
| run: bun run check | |
| - name: Run eslint | |
| run: FORCE_COLOR=1 bun run --filter '@intric/*' lint | |
| backend-checks: | |
| runs-on: ubuntu-latest | |
| name: Backend checks (Ruff) | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.8.22" | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Verify lockfile consistency | |
| working-directory: ./backend | |
| run: uv lock --check | |
| - name: Install dependencies | |
| working-directory: ./backend | |
| run: uv sync --frozen | |
| - name: Ruff lint | |
| working-directory: ./backend | |
| run: uv run ruff check src/intric/ --output-format github | |
| - name: Ruff format check | |
| working-directory: ./backend | |
| run: uv run ruff format --check src/intric/ | |
| backend-type-check: | |
| runs-on: ubuntu-latest | |
| name: Backend type check (Pyright) | |
| permissions: | |
| contents: read | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.8.22" | |
| enable-cache: true | |
| - name: Set up Python | |
| run: uv python install 3.11 | |
| - name: Verify lockfile consistency | |
| working-directory: ./backend | |
| run: uv lock --check | |
| - name: Install dependencies | |
| working-directory: ./backend | |
| run: uv sync --frozen --group dev | |
| - name: Run pyright | |
| working-directory: ./backend | |
| run: uv run pyright |