fix(ci): scope workflow to current repository

This commit is contained in:
2026-07-30 16:04:55 +08:00
parent c8ca387e04
commit 80e91e7b43
+3 -3
View File
@@ -14,7 +14,7 @@ concurrency:
jobs:
backend-unit:
if: github.repository == 'Gmaker689/xinfra'
if: github.repository == '1024XEngineer/xinfra'
name: Backend unit tests
runs-on: ubuntu-latest
defaults:
@@ -49,7 +49,7 @@ jobs:
if-no-files-found: ignore
frontend-validation:
if: github.repository == 'Gmaker689/xinfra'
if: github.repository == '1024XEngineer/xinfra'
name: Frontend typecheck and build
runs-on: ubuntu-latest
defaults:
@@ -73,7 +73,7 @@ jobs:
run: npm run build
integration:
if: github.repository == 'Gmaker689/xinfra'
if: github.repository == '1024XEngineer/xinfra'
name: Backend integration smoke test
runs-on: ubuntu-latest
needs: