Skip to content

armgit / hypit

Public Imported from GitHub
0

Clone any viral video with AI agents. Not just a script, the whole workflow: swap the face, the words, the B-roll, ship 100 variants in one command, and get your 100M views.

ci: skip the test suite for documentation-only changes

rpone68bc64bc0d01
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index c2d06083..f6653aea 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -3,7 +3,14 @@ name: CI
on:
push:
branches: [main]
+ # Documentation-only changes are covered by deploy-pages.yml, which builds the site and runs
+ # the same repository hygiene checks. Nothing under docs/ is in tsconfig's include or reachable
+ # from the test suite, so type checking and 633 tests would prove nothing here.
+ paths-ignore:
+ - "docs/**"
pull_request:
+ paths-ignore:
+ - "docs/**"
workflow_dispatch:
concurrency:
diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml
index c291d5cb..5e5a3ac7 100644
--- a/.github/workflows/deploy-pages.yml
+++ b/.github/workflows/deploy-pages.yml
@@ -43,6 +43,10 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile
+ # CI skips documentation-only pushes, so the hygiene checks that scan docs/ run here.
+ - name: Repository hygiene
+ run: pnpm test:release
+
- name: Build documentation
run: pnpm docs:build