[llvm] [Github] Test pr-code-lint workflow on changes to workflow (PR #159968)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sat Sep 20 22:13:48 PDT 2025


https://github.com/boomanaiden154 created https://github.com/llvm/llvm-project/pull/159968

This patch ensures that the pr-code-lint workflow is run for testing whenever the workflow file is changed. This will not catch actual functionality issues on most changes but does ensure that the workflow is not completely broken.

>From 69b99bba477b71bd06c4dc3ef18c3ad97dc4128d Mon Sep 17 00:00:00 2001
From: Aiden Grossman <aidengrossman at google.com>
Date: Sun, 21 Sep 2025 05:12:44 +0000
Subject: [PATCH] [Github] Test pr-code-lint workflow on changes to workflow

This patch ensures that the pr-code-lint workflow is run for testing
whenever the workflow file is changed. This will not catch actual
functionality issues on most changes but does ensure that the workflow
is not completely broken.
---
 .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 adb6c6e8f4c76..6ed187e2c75f5 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/**'
+      - '.github/workflows/pr-code-lint.yml'
 
 jobs:
   code_linter:



More information about the llvm-commits mailing list