[llvm] [GitHub][CI] Add clang-tidy premerge workflow (PR #154829)

Baranov Victor via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 23 12:52:56 PDT 2025


================
@@ -0,0 +1,126 @@
+name: "Code lint"
+
+permissions:
+  contents: read
+
+on:
+  pull_request:
+    branches:
+      - main
+      - 'users/**'
+    paths:
+      - 'clang-tools-extra/clang-tidy/**'
+
+jobs:
+  code_linter:
+    if: github.repository_owner == 'llvm'
+    runs-on: ubuntu-24.04
+    defaults:
+      run:
+        shell: bash
----------------
vbvictor wrote:

>From what I experienced, yes it's needed otherwise commands like `source` wouldn't work. Maybe `bash` is default in `runs-on: llvmpremerge-linux-runners`?

I can for sure double-check it

https://github.com/llvm/llvm-project/pull/154829


More information about the llvm-commits mailing list