Merge branch 'fix/ci-guard-catalog-key'
Build and Push Frontend / Escaneo de Secretos (Gitleaks) (push) Successful in 33s
Build and Push Frontend / Construir y Subir Imagen (push) Successful in 16m18s

This commit is contained in:
devops committed 2026-09-27 13:41:40 +00:00
commit 8f9df266d3
1 file changed
+10 -1
+10 -1
View File
@@ -273,11 +273,20 @@ jobs:
echo "Validando remontaje por parámetros: ${PAGE_FILE}"
grep -q 'key={`${category}:${collection}:${query}`}' "${PAGE_FILE}" || {
# Prefijo, no igualdad exacta: desde franquicias/personajes
# (2026-09-27) la key tambien incluye ?franquicia/?saga/?personaje
# -- lo que importa es que siga remontando por categoria,
# coleccion y busqueda, y ahora tambien por la taxonomia.
grep -q 'key={`${category}:${collection}:${query}' "${PAGE_FILE}" || {
echo "ERROR: app/catalog/page.tsx no remonta CatalogClient al cambiar la URL."
exit 1
}
grep -q 'taxonomy.franquicia}:${taxonomy.saga}:${taxonomy.personaje}' "${PAGE_FILE}" || {
echo "ERROR: app/catalog/page.tsx no remonta CatalogClient al cambiar franquicia/saga/personaje."
exit 1
}
echo "OK: navegación real del catálogo validada."
- name: Instalar Trivy