[llvm] [Github][CI] Trigger `code-lint` for clang-tidy documentations (PR #173700)

via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 26 20:44:04 PST 2025


https://github.com/zeyi2 created https://github.com/llvm/llvm-project/pull/173700

Previously we added `doc8` to `code-lint` workflow. However, PRs contain only documentation changes won't trigger this workflow. This PR fixes the problem.

>From 14e562b6ac25cc85011dae3c639ed8e0add68a50 Mon Sep 17 00:00:00 2001
From: mtx <mitchell.xu2 at gmail.com>
Date: Sat, 27 Dec 2025 12:40:55 +0800
Subject: [PATCH] [Github][CI] Trigger `code-lint` for clang-tidy
 documentations

---
 .github/workflows/pr-code-lint.yml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/workflows/pr-code-lint.yml b/.github/workflows/pr-code-lint.yml
index 64fecd26af004..b314f740e59de 100644
--- a/.github/workflows/pr-code-lint.yml
+++ b/.github/workflows/pr-code-lint.yml
@@ -10,6 +10,7 @@ on:
       - 'users/**'
     paths:
       - 'clang-tools-extra/clang-tidy/**'
+      - 'clang-tools-extra/docs/clang-tidy/**'
       - '.github/workflows/pr-code-lint.yml'
 
 jobs:



More information about the llvm-commits mailing list