diff options
Diffstat (limited to '.github/workflows/static_code_analysis.yml')
| -rw-r--r-- | .github/workflows/static_code_analysis.yml | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/.github/workflows/static_code_analysis.yml b/.github/workflows/static_code_analysis.yml index 3a5fdb34f5..f517a309d5 100644 --- a/.github/workflows/static_code_analysis.yml +++ b/.github/workflows/static_code_analysis.yml @@ -54,4 +54,17 @@ jobs: sudo make install FILESDIR=/usr/local/share/Cppcheck cppcheck --version cd .. - python tools/ci/cpp_check.py check
\ No newline at end of file + 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
\ No newline at end of file |
