ci(runtime): align external front workflow trigger paths

Normalize DocV external front runtime workflow path filters to keep release runtime checks synchronized with current repository layout.
This commit is contained in:
Nicolas Cantu 2026-05-15 12:06:41 +02:00
parent c5685f61f8
commit 6e93195cde

View File

@ -5,7 +5,7 @@ on:
branches: branches:
- "release/**" - "release/**"
paths: paths:
- "**/src/**" - "**/src/lib/docv-sdk/**"
- "**/package.json" - "**/package.json"
- "**/package-lock.json" - "**/package-lock.json"
- ".gitea/workflows/docv-front-runtime-release.yml" - ".gitea/workflows/docv-front-runtime-release.yml"
@ -51,7 +51,7 @@ jobs:
test -n "${DOCV_IT_API_VERSION}" test -n "${DOCV_IT_API_VERSION}"
test -n "${DOCV_IT_ORIGIN}" test -n "${DOCV_IT_ORIGIN}"
- name: Run DocV runtime integration checks on discovered fronts - name: Run mandatory DocV runtime integration checks on all fronts
run: | run: |
set -euo pipefail set -euo pipefail
mapfile -t docv_surfaces < <(node <<'NODE' mapfile -t docv_surfaces < <(node <<'NODE'
@ -101,8 +101,8 @@ jobs:
NODE NODE
) )
if [[ "${#docv_surfaces[@]}" -eq 0 ]]; then if [[ "${#docv_surfaces[@]}" -eq 0 ]]; then
echo "[docv-front-runtime-release] no docv runtime integration surface found, skip." echo "[docv-front-runtime-release] no docv runtime integration surface found" >&2
exit 0 exit 1
fi fi
for surface in "${docv_surfaces[@]}"; do for surface in "${docv_surfaces[@]}"; do
if [[ ! -f "${surface}/package.json" ]]; then if [[ ! -f "${surface}/package.json" ]]; then