mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-11-16 04:24:33 +00:00
Compare commits
2 Commits
e458c0df7e
...
fa6f86eda3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fa6f86eda3 | ||
|
|
925eab78df |
24
.github/workflows/bsp_buildings.yml
vendored
24
.github/workflows/bsp_buildings.yml
vendored
@@ -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
|
||||
22
.github/workflows/ci_results_comment.yml
vendored
22
.github/workflows/ci_results_comment.yml
vendored
@@ -9,17 +9,17 @@
|
||||
|
||||
name: CI Results Comment
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows:
|
||||
- "RT-Thread BSP Static Build Check"
|
||||
- "Static code analysis"
|
||||
- "Check File Format and License"
|
||||
- "utest_auto_run"
|
||||
- "ToolsCI"
|
||||
- "pkgs_test"
|
||||
types:
|
||||
- completed
|
||||
# on:
|
||||
# workflow_run:
|
||||
# workflows:
|
||||
# - "RT-Thread BSP Static Build Check"
|
||||
# - "Static code analysis"
|
||||
# - "Check File Format and License"
|
||||
# - "utest_auto_run"
|
||||
# - "ToolsCI"
|
||||
# - "pkgs_test"
|
||||
# types:
|
||||
# - completed
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
24
.github/workflows/format_check.yml
vendored
24
.github/workflows/format_check.yml
vendored
@@ -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
|
||||
30
.github/workflows/post_ci_status.yml
vendored
30
.github/workflows/post_ci_status.yml
vendored
@@ -9,21 +9,21 @@
|
||||
|
||||
name: Post CI Status Comment
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
workflow_name:
|
||||
description: 'Name of the workflow'
|
||||
required: true
|
||||
type: string
|
||||
workflow_status:
|
||||
description: 'Status of the workflow (success/failure)'
|
||||
required: true
|
||||
type: string
|
||||
pr_number:
|
||||
description: 'Pull request number'
|
||||
required: true
|
||||
type: number
|
||||
# on:
|
||||
# workflow_call:
|
||||
# inputs:
|
||||
# workflow_name:
|
||||
# description: 'Name of the workflow'
|
||||
# required: true
|
||||
# type: string
|
||||
# workflow_status:
|
||||
# description: 'Status of the workflow (success/failure)'
|
||||
# required: true
|
||||
# type: string
|
||||
# pr_number:
|
||||
# description: 'Pull request number'
|
||||
# required: true
|
||||
# type: number
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
24
.github/workflows/static_code_analysis.yml
vendored
24
.github/workflows/static_code_analysis.yml
vendored
@@ -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
|
||||
24
.github/workflows/utest_auto_run.yml
vendored
24
.github/workflows/utest_auto_run.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user