Bump org.springdoc:springdoc-openapi-starter-webmvc-ui from 2.6.0 to 3.0.3 in /backend #24
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
| # .github/workflows/ci-validation.yml | |
| # Versión corregida: añade permissions mínimas en cada job. | |
| # Reemplaza tu ci-validation.yml actual con este. | |
| name: CI Validation | |
| on: | |
| push: | |
| branches: [deploy, master] | |
| pull_request: | |
| branches: [deploy] | |
| # Permisos globales: solo lectura (mínimo privilegio) | |
| permissions: | |
| contents: read | |
| jobs: | |
| # ── Frontend ────────────────────────────────────────────────── | |
| frontend-checks: | |
| name: Frontend (Angular) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: frontend | |
| # Permisos mínimos para este job | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v6 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| cache-dependency-path: frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Lint | |
| run: npm run lint --if-present | |
| - name: Build (producción) | |
| run: npm run build -- --configuration production | |
| # ── Backend ─────────────────────────────────────────────────── | |
| backend-checks: | |
| name: Backend (Spring Boot) | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: backend | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Setup Java 25 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: "25" | |
| distribution: "temurin" | |
| cache: "maven" | |
| - name: Build con Maven | |
| run: mvn -B clean package -DskipTests | |
| # ── Security summary ────────────────────────────────────────── | |
| security-summary: | |
| name: Resumen de seguridad | |
| runs-on: ubuntu-latest | |
| needs: [frontend-checks, backend-checks] | |
| # Necesita write para publicar el resumen en el PR | |
| permissions: | |
| contents: read | |
| security-events: read | |
| steps: | |
| - name: CI completado correctamente | |
| run: echo "Frontend y backend OK" |