Просмотр исходного кода

[ci]: disable the post-ci-status enabling option for regarding the relevant CI

kurisaw 2 месяцев назад
Родитель
Сommit
fa6f86eda3

+ 12 - 12
.github/workflows/bsp_buildings.yml

@@ -293,15 +293,15 @@ jobs:
           name: 00_all_bsp_output_${{ github.sha }}  
           path: output/
 
-  # Post CI status to PR comment
-  post-ci-status:
-    needs: build
-    if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
-    uses: ./.github/workflows/post_ci_status.yml
-    with:
-      workflow_name: "RT-Thread BSP Static Build Check"
-      workflow_status: ${{ needs.build.result }}
-      pr_number: ${{ github.event.pull_request.number }}
-    permissions:
-      pull-requests: write
-      issues: write
+  # # Post CI status to PR comment
+  # post-ci-status:
+  #   needs: build
+  #   if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
+  #   uses: ./.github/workflows/post_ci_status.yml
+  #   with:
+  #     workflow_name: "RT-Thread BSP Static Build Check"
+  #     workflow_status: ${{ needs.build.result }}
+  #     pr_number: ${{ github.event.pull_request.number }}
+  #   permissions:
+  #     pull-requests: write
+  #     issues: write

+ 12 - 12
.github/workflows/format_check.yml

@@ -31,15 +31,15 @@ jobs:
           pip install click chardet PyYaml
           python tools/ci/file_check.py check 'https://github.com/RT-Thread/rt-thread' 'master'
 
-  # Post CI status to PR comment
-  post-ci-status:
-    needs: scancode_job
-    if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
-    uses: ./.github/workflows/post_ci_status.yml
-    with:
-      workflow_name: "Check File Format and License"
-      workflow_status: ${{ needs.scancode_job.result }}
-      pr_number: ${{ github.event.pull_request.number }}
-    permissions:
-      pull-requests: write
-      issues: write
+  # # Post CI status to PR comment
+  # post-ci-status:
+  #   needs: scancode_job
+  #   if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
+  #   uses: ./.github/workflows/post_ci_status.yml
+  #   with:
+  #     workflow_name: "Check File Format and License"
+  #     workflow_status: ${{ needs.scancode_job.result }}
+  #     pr_number: ${{ github.event.pull_request.number }}
+  #   permissions:
+  #     pull-requests: write
+  #     issues: write

+ 12 - 12
.github/workflows/static_code_analysis.yml

@@ -56,15 +56,15 @@ jobs:
           cd ..
           python tools/ci/cpp_check.py check
 
-  # Post CI status to PR comment
-  post-ci-status:
-    needs: scancode_job
-    if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
-    uses: ./.github/workflows/post_ci_status.yml
-    with:
-      workflow_name: "Static code analysis"
-      workflow_status: ${{ needs.scancode_job.result }}
-      pr_number: ${{ github.event.pull_request.number }}
-    permissions:
-      pull-requests: write
-      issues: write
+  # # Post CI status to PR comment
+  # post-ci-status:
+  #   needs: scancode_job
+  #   if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
+  #   uses: ./.github/workflows/post_ci_status.yml
+  #   with:
+  #     workflow_name: "Static code analysis"
+  #     workflow_status: ${{ needs.scancode_job.result }}
+  #     pr_number: ${{ github.event.pull_request.number }}
+  #   permissions:
+  #     pull-requests: write
+  #     issues: write

+ 12 - 12
.github/workflows/utest_auto_run.yml

@@ -305,15 +305,15 @@ jobs:
               break
             fi
           done
-  # Post CI status to PR comment
-  post-ci-status:
-    needs: test
-    if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
-    uses: ./.github/workflows/post_ci_status.yml
-    with:
-      workflow_name: "utest_auto_run"
-      workflow_status: ${{ needs.test.result }}
-      pr_number: ${{ github.event.pull_request.number }}
-    permissions:
-      pull-requests: write
-      issues: write
+  # # Post CI status to PR comment
+  # post-ci-status:
+  #   needs: test
+  #   if: always() && github.event_name == 'pull_request' && github.repository_owner == 'RT-Thread'
+  #   uses: ./.github/workflows/post_ci_status.yml
+  #   with:
+  #     workflow_name: "utest_auto_run"
+  #     workflow_status: ${{ needs.test.result }}
+  #     pr_number: ${{ github.event.pull_request.number }}
+  #   permissions:
+  #     pull-requests: write
+  #     issues: write