Move clang-tidy to its own CI job (#4996)

* Only run the `post-clang-tidy-review` if the `clang-tidy` build succeeded
This commit is contained in:
pajlada
2023-12-02 14:04:43 +01:00
committed by GitHub
parent 0fd4e8ffd6
commit 584a7c86fc
4 changed files with 152 additions and 39 deletions
+3 -1
View File
@@ -3,13 +3,15 @@ name: Post clang-tidy review comments
on:
workflow_run:
workflows: ["Build"]
workflows: ["clang-tidy"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
# Only when a build succeeds
if: ${{ github.event.workflow_run.conclusion == 'success' }}
steps:
- uses: ZedThree/clang-tidy-review/post@v0.14.0