From 1760e65cdeecf941a1840b5bdcda394d1d758614 Mon Sep 17 00:00:00 2001 From: santxkoz Date: Thu, 2 Jul 2026 08:14:47 +0700 Subject: [PATCH] Fix main workflow guardrails --- .github/workflows/ci.yml | 14 ++++++++++++++ _config.yml | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 _config.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 41123e9e2..20e82942b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -140,11 +140,23 @@ jobs: steps: - uses: actions/checkout@v4 + + - name: Detect Dockerfiles + id: dockerfiles + run: | + if [ -f Dockerfile.api ] || [ -f Dockerfile.web ] || [ -f Dockerfile.agents ]; then + echo "present=true" >> "$GITHUB_OUTPUT" + else + echo "present=false" >> "$GITHUB_OUTPUT" + echo "No platform Dockerfiles found; skipping Docker image builds for this corpus-only checkout." + fi - name: Set up Docker Buildx + if: steps.dockerfiles.outputs.present == 'true' uses: docker/setup-buildx-action@v3 - name: Build API image + if: steps.dockerfiles.outputs.present == 'true' && hashFiles('Dockerfile.api') != '' uses: docker/build-push-action@v5 with: context: . @@ -155,6 +167,7 @@ jobs: cache-to: type=gha,mode=max - name: Build Web image + if: steps.dockerfiles.outputs.present == 'true' && hashFiles('Dockerfile.web') != '' uses: docker/build-push-action@v5 with: context: . @@ -167,6 +180,7 @@ jobs: cache-to: type=gha,mode=max - name: Build Agent image + if: steps.dockerfiles.outputs.present == 'true' && hashFiles('Dockerfile.agents') != '' uses: docker/build-push-action@v5 with: context: . diff --git a/_config.yml b/_config.yml new file mode 100644 index 000000000..6af55eb41 --- /dev/null +++ b/_config.yml @@ -0,0 +1,14 @@ +title: Unity Equilibrium Theory (UET) +description: A research corpus for Unity Equilibrium Theory. + +markdown: kramdown +highlighter: rouge + +exclude: + - .git + - .github + - .venv + - node_modules + - services_and_experiments + - target + - uet_history