name: PR CI

on:
  pull_request:
    branches:
      - mealie-next

jobs:
  backend-tests:
    name: "Backend Server Tests"
    uses: ./.github/workflows/partial-backend.yml

  frontend-tests:
    name: "Frontend and End-to-End Tests"
    uses: ./.github/workflows/partial-frontend.yml

  backend-container-scanning:
    name: "Trivy Backend Container Scanning"
    uses: ./.github/workflows/partial-trivy-backend-container-scanning.yml

  frontend-container-scanning:
    name: "Trivy Frontend Container Scanning"
    uses: ./.github/workflows/partial-trivy-frontend-container-scanning.yml
