Post clang-tidy review comments #17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This standalone CI is needed for commenting in PRs from forks | |
name: Post clang-tidy review comments | |
on: | |
workflow_run: | |
# The name field of the lint action | |
workflows: ["Optional_Clang_Tidy_Review"] | |
types: | |
- completed | |
permissions: | |
checks: write | |
pull-requests: write | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: ZedThree/clang-tidy-review/post@14d2a0d778b294699f3336e98eb82c380e2c893b # v0.13.1 | |
with: | |
lgtm_comment_body: "" | |
# Use annotations instead of comments | |
annotations: true | |
max_comments: 10 |