mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 09:00:04 +00:00
Use a split workflow for clang-tidy-review comments
This commit is contained in:
parent
aba904af3c
commit
a287789d87
2 changed files with 21 additions and 1 deletions
20
.github/workflows/clang-tidy-comments.yml
vendored
Normal file
20
.github/workflows/clang-tidy-comments.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
name: Post clang-tidy Review Comments
|
||||
|
||||
on:
|
||||
workflow_run:
|
||||
workflows: ["clang-tidy-review"]
|
||||
types:
|
||||
- completed
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Post Comments
|
||||
uses: ZedThree/clang-tidy-review/post@v0.20.1
|
||||
with:
|
||||
lgtm_comment_body: ''
|
||||
annotations: false
|
||||
max_comments: 25
|
||||
num_comments_as_exitcode: false
|
||||
2
.github/workflows/clang-tidy-review.yml
vendored
2
.github/workflows/clang-tidy-review.yml
vendored
|
|
@ -126,7 +126,7 @@ jobs:
|
|||
--cmake-command='' \
|
||||
--max-comments=25 \
|
||||
--lgtm-comment-body='' \
|
||||
--split_workflow=false \
|
||||
--split_workflow=true \
|
||||
--annotations=false \
|
||||
--parallel=0
|
||||
rsync -avzh --ignore-missing-args clang-tidy-review-output.json ../
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue