Skip to content

Commit

Permalink
add clang-tidy-pr-comments
Browse files Browse the repository at this point in the history
Signed-off-by: Y.Hisaki <[email protected]>
  • Loading branch information
yhisaki committed Feb 17, 2025
1 parent 53ad66b commit 1d0a497
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions clang-tidy/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,20 @@ runs:
with:
files: /tmp/clang-tidy-result/fixes.yaml

- name: Copy fixes.yaml to access from Docker Container Action
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
run: |
cp /tmp/clang-tidy-result/fixes.yaml fixes.yaml
shell: bash

- name: Run clang-tidy-pr-comments action
if: ${{ steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
uses: platisd/[email protected]
with:
github_token: ${{ inputs.token }}
clang_tidy_fixes: fixes.yaml
repo_path_prefix: "/__w" # yamllint disable-line

- name: Upload artifacts
if: ${{ steps.check-report-log-existence.outputs.exists == 'true' && steps.check-fixes-yaml-existence.outputs.exists == 'true' }}
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 1d0a497

Please sign in to comment.