Skip to content

Commit

Permalink
Create clangtidy-post.yml
Browse files Browse the repository at this point in the history
Add workflow for posting clang tidy review as comments

Signed-off-by: Soren Soe <2106410+stsoe@users.noreply.github.com>
  • Loading branch information
stsoe authored Feb 28, 2025
1 parent 5f32bd7 commit 6bf3321
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/clangtidy-post.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# SPDX-License-Identifier: MIT
# Copyright (C) 2025 Advanced Micro Devices, Inc. All rights reserved.
name: clang-tidy-post

on:
workflow_run:
workflows: ["clang-tidy-review"]
types:
- completed

permissions:
pull-requests: write
issues: write
checks: write

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Post review messages
uses: stsoe/clang-tidy-review/post/@6d2aee59f56cf41f32baa4123cc636fff8ef4eb7
with:
token: ${{ secrets.GITHUB_TOKEN }}
annotations: false
max_comments: 25

0 comments on commit 6bf3321

Please sign in to comment.