Match any file with the extensions in any directory

This commit is contained in:
Edward Firmo
2024-12-27 03:49:39 +01:00
parent c50bd5ca16
commit 5255912fcf

View File

@@ -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: