diff --git a/.github/dependabot.yml b/.github/dependabot.yml index e4cdb97..a74969e 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -10,5 +10,10 @@ updates: schedule: interval: weekly - # Backend Python dependencies are updated via the python-copier-template - # sync (uv.lock is regenerated on each render), so uv is not listed here. + # The backend package lives in a subdirectory, so it needs its own entry + # (`uv.lock` there is already picked up by the dependency graph, but an entry + # is what turns alerts into pull requests). + - package-ecosystem: uv + directory: /backend + schedule: + interval: weekly diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index f2e0e48..3383ccc 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -5,9 +5,7 @@ name: Backend on: push: branches: [main] - paths: ["backend/**", ".github/workflows/backend.yml"] pull_request: - paths: ["backend/**", ".github/workflows/backend.yml"] jobs: backend: diff --git a/.github/workflows/contract.yml b/.github/workflows/contract.yml index 0aa067a..7e578c3 100644 --- a/.github/workflows/contract.yml +++ b/.github/workflows/contract.yml @@ -7,9 +7,7 @@ name: Contract on: push: branches: [main] - paths: ["frontend/**", "backend/**", ".github/workflows/contract.yml"] pull_request: - paths: ["frontend/**", "backend/**", ".github/workflows/contract.yml"] jobs: contract: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index d71cea0..bae5ca5 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,28 +1,14 @@ -# Builds both container images and runs the composed stack, checking the same -# contract as contract.yml but through nginx — catches images that build but -# cannot start (missing runtime deps, broken CMD, bad base tags) and proxy -# misconfiguration. Complements the docker.yml that python-copier-template -# renders into standalone backend repos. +# Builds both container images and runs the composed stack: catches images that +# build but cannot start (missing runtime deps, broken CMD, bad base tags), a +# broken nginx config, and compose wiring. The API contract itself is checked by +# contract.yml. Complements the docker.yml that python-copier-template renders +# into standalone backend repos. name: Docker on: push: branches: [main] - paths: - [ - "frontend/**", - "backend/**", - "compose.yaml", - ".github/workflows/docker.yml", - ] pull_request: - paths: - [ - "frontend/**", - "backend/**", - "compose.yaml", - ".github/workflows/docker.yml", - ] jobs: docker: @@ -39,18 +25,14 @@ jobs: - name: "Frontend served" run: curl -sf http://localhost:8080/ | grep -q "