Browse Source

chore: add code owner

dragooncjw 10 months ago
parent
commit
a9e1b02ba5
3 changed files with 4 additions and 34 deletions
  1. 2 3
      .github/CODEOWNERS
  2. 2 0
      .github/workflows/ci.yml
  3. 0 31
      .github/workflows/pr-ci.yml

+ 2 - 3
.github/CODEOWNERS

@@ -1,7 +1,6 @@
 # 文件路径与代码负责人分配
 # 对整个仓库设置代码负责人
-* @xukai.luics @wencheng.lwc
+* @xiamidaxia @luics
 
 # 对特定目录设置代码负责人
-/common/ @wencheng.lwc @chenjiawei.inizio
-/config/ @wencheng.lwc @chenjiawei.inizio
+/docs/ @xiamidaxia @dragooncjw

+ 2 - 0
.github/workflows/ci.yml

@@ -2,6 +2,8 @@ name: CI
 on:
   push:
     branches: [ "main" ]
+  pull_request_target:
+    branches: [ "main" ]
 jobs:
   build:
     runs-on: ubuntu-latest

+ 0 - 31
.github/workflows/pr-ci.yml

@@ -1,31 +0,0 @@
-name: Fork PR-CI
-on:
-  pull_request_target:
-    branches: 
-      -*
-jobs:
-  build:
-    runs-on: ubuntu-latest
-    steps:
-      - uses: actions/checkout@v3
-        with:
-          fetch-depth: 1
-      - name: Config Git User
-        run: |
-          git config --local user.name "dragooncjw"
-          git config --local user.email "289056872@qq.com"
-      - name: For Debug
-        run: |
-          echo "Listing files in the root directory:"
-          ls -alh
-      - uses: actions/setup-node@v3
-        with:
-          node-version: 18
-      - name: Verify Change Logs
-        run: node common/scripts/install-run-rush.js change --verify
-      - name: Rush Install
-        run: node common/scripts/install-run-rush.js install
-      - name: Rush build
-        run: node common/scripts/install-run-rush.js build
-      - name: Test (coverage)
-        run: node common/scripts/install-run-rush.js test:cov