fix(ci): scope workflow to current repository
This commit is contained in:
@@ -14,7 +14,7 @@ concurrency:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
backend-unit:
|
backend-unit:
|
||||||
if: github.repository == 'Gmaker689/xinfra'
|
if: github.repository == '1024XEngineer/xinfra'
|
||||||
name: Backend unit tests
|
name: Backend unit tests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
@@ -49,7 +49,7 @@ jobs:
|
|||||||
if-no-files-found: ignore
|
if-no-files-found: ignore
|
||||||
|
|
||||||
frontend-validation:
|
frontend-validation:
|
||||||
if: github.repository == 'Gmaker689/xinfra'
|
if: github.repository == '1024XEngineer/xinfra'
|
||||||
name: Frontend typecheck and build
|
name: Frontend typecheck and build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
defaults:
|
defaults:
|
||||||
@@ -73,7 +73,7 @@ jobs:
|
|||||||
run: npm run build
|
run: npm run build
|
||||||
|
|
||||||
integration:
|
integration:
|
||||||
if: github.repository == 'Gmaker689/xinfra'
|
if: github.repository == '1024XEngineer/xinfra'
|
||||||
name: Backend integration smoke test
|
name: Backend integration smoke test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs:
|
needs:
|
||||||
|
|||||||
Reference in New Issue
Block a user