From 5255912fcf7c99b520418d390e40578114274c3c Mon Sep 17 00:00:00 2001 From: Edward Firmo <94725493+edwardtfn@users.noreply.github.com> Date: Fri, 27 Dec 2024 03:49:39 +0100 Subject: [PATCH] Match any file with the extensions in any directory --- .github/workflows/validate_esphome_beta.yml | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/validate_esphome_beta.yml b/.github/workflows/validate_esphome_beta.yml index 9cd663d..bd40471 100644 --- a/.github/workflows/validate_esphome_beta.yml +++ b/.github/workflows/validate_esphome_beta.yml @@ -8,22 +8,10 @@ permissions: on: # yamllint disable-line rule:truthy push: paths: - - "*.{yml,yaml,h,cpp,c,py}" - - ".github/workflows/*.{yml,yaml,h,cpp,c,py}" - - ".test/*.{yml,yaml,h,cpp,c,py}" - - "components/*.{yml,yaml,h,cpp,c,py}" - - "components/tx_ultimate_easy/*.{yml,yaml,h,cpp,c,py}" - - "ESPHome/*.{yml,yaml,h,cpp,c,py}" - branches: - - main + - "**/*.{yml,yaml,h,cpp,c,py}" # Match any file with the extensions in any directory pull_request: paths: - - "*.{yml,yaml,h,cpp,c,py}" - - ".github/workflows/*.{yml,yaml,h,cpp,c,py}" - - ".test/*.{yml,yaml,h,cpp,c,py}" - - "components/*.{yml,yaml,h,cpp,c,py}" - - "components/tx_ultimate_easy/*.{yml,yaml,h,cpp,c,py}" - - "ESPHome/*.{yml,yaml,h,cpp,c,py}" + - "**/*.{yml,yaml,h,cpp,c,py}" # Match any file with the extensions in any directory workflow_dispatch: concurrency: