From f97500a96e2f1646d3747d9d4ae40ddeeb361bf2 Mon Sep 17 00:00:00 2001 From: Paulo Dias Date: Thu, 25 Sep 2025 22:11:49 +0100 Subject: [PATCH] [chore][ci] only run codeowners workflow when related files are changed Signed-off-by: Paulo Dias --- .github/workflows/check-codeowners.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/check-codeowners.yaml b/.github/workflows/check-codeowners.yaml index 97affb6828a8b..079fdec8c7e22 100644 --- a/.github/workflows/check-codeowners.yaml +++ b/.github/workflows/check-codeowners.yaml @@ -2,9 +2,15 @@ name: codeowners on: push: branches: [main] + paths: + - ".github/CODEOWNERS" + - "**/metadata.yaml" tags: - "v[0-9]+.[0-9]+.[0-9]+*" pull_request_target: + paths: + - ".github/CODEOWNERS" + - "**/metadata.yaml" types: - opened - synchronize