CI: Update trigger paths for desktop workflows (#6223)

* update trigger paths

* change to include paths trigger pattern

* refine selection
This commit is contained in:
tooomm
2025-10-05 16:51:06 +02:00
committed by GitHub
parent 9c58e6f90f
commit c25b153185
2 changed files with 36 additions and 17 deletions

View File

@@ -9,20 +9,31 @@ on:
push:
branches:
- master
paths-ignore:
- '**.md'
- 'webclient/**'
- '.github/workflows/web-*.yml'
- '.github/workflows/translations-*.yml'
- '.github/workflows/docker-release.yml'
paths:
- '*/**' # matches all files not in root
- '!**.md'
- '!.github/**'
- '!.husky/**'
- '!.tx/**'
- '!doc/**'
- '!webclient/**'
- '.github/workflows/desktop-build.yml'
- 'CMakeLists.txt'
- 'vcpkg.json'
tags:
- '*'
pull_request:
paths-ignore:
- '**.md'
- 'webclient/**'
- '.github/workflows/web-*.yml'
- '.github/workflows/translations-*.yml'
paths:
- '*/**' # matches all files not in root
- '!**.md'
- '!.github/**'
- '!.husky/**'
- '!.tx/**'
- '!doc/**'
- '!webclient/**'
- '.github/workflows/desktop-build.yml'
- 'CMakeLists.txt'
- 'vcpkg.json'
# Cancel earlier, unfinished runs of this workflow on the same branch (unless on master)
concurrency:

View File

@@ -2,12 +2,20 @@ name: Code Style (C++)
on:
pull_request:
paths-ignore:
- '**.md'
- 'webclient/**'
- '.github/workflows/web-*.yml'
- '.github/workflows/translations-*.yml'
- '.github/workflows/docker-release.yml'
paths:
- '*/**' # matches all files not in root
- '!**.md'
- '!.ci/**'
- '!.github/**'
- '!.husky'
- '!.tx'
- '!doc/**'
- '!webclient/**'
- '.github/workflows/desktop-lint.yml'
- '.ci/lint_cpp.sh'
- '.clang-format'
- '.cmake-format.json'
- 'format.sh'
jobs:
format: