From c8ca387e04cf9bbf1355ed37d30ab168a54faf7b Mon Sep 17 00:00:00 2001 From: guoyonghao <1711322114@qq.com> Date: Wed, 29 Jul 2026 15:19:27 +0800 Subject: [PATCH] ci: skip checks in forked repositories --- .github/workflows/ci.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index dcc47ce..9311250 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ concurrency: jobs: backend-unit: + if: github.repository == 'Gmaker689/xinfra' name: Backend unit tests runs-on: ubuntu-latest defaults: @@ -48,6 +49,7 @@ jobs: if-no-files-found: ignore frontend-validation: + if: github.repository == 'Gmaker689/xinfra' name: Frontend typecheck and build runs-on: ubuntu-latest defaults: @@ -71,6 +73,7 @@ jobs: run: npm run build integration: + if: github.repository == 'Gmaker689/xinfra' name: Backend integration smoke test runs-on: ubuntu-latest needs: