From bd061a5bf42f83a0a23611b1aed0f3384c57875c Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Thu, 29 Jun 2023 15:01:21 +0200 Subject: [PATCH] Limit clang-tidy to main and dev Make it possible to have temporary code violating clang-tidy fixes in work branches --- .github/workflows/clang-tidy.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/clang-tidy.yml b/.github/workflows/clang-tidy.yml index 8495934343..e3664dd11c 100644 --- a/.github/workflows/clang-tidy.yml +++ b/.github/workflows/clang-tidy.yml @@ -2,6 +2,9 @@ name: clang-tidy on: push: + branches: + - main + - dev paths: - '**.clang-tidy' workflow_dispatch: