ci: skip checks in forked repositories

This commit is contained in:
2026-07-29 15:19:27 +08:00
parent 68325aca42
commit c8ca387e04
+3
View File
@@ -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: