From 0530747a65532dac8443d5cf879eba387a9832cb Mon Sep 17 00:00:00 2001 From: tooomm Date: Sun, 5 Oct 2025 12:33:23 +0200 Subject: [PATCH] change to include paths trigger pattern --- .github/workflows/desktop-build.yml | 34 +++++++++++++++-------------- .github/workflows/desktop-lint.yml | 17 ++++++++------- 2 files changed, 27 insertions(+), 24 deletions(-) diff --git a/.github/workflows/desktop-build.yml b/.github/workflows/desktop-build.yml index b00d401f3..90ccd0915 100644 --- a/.github/workflows/desktop-build.yml +++ b/.github/workflows/desktop-build.yml @@ -9,25 +9,27 @@ on: push: branches: - master - paths-ignore: - - '**.md' - - 'doc/**' - - 'webclient/**' - - '.github/workflows/docker-*.yml' - - '.github/workflows/documentation-*.yml' - - '.github/workflows/translations-*.yml' - - '.github/workflows/web-*.yml' + paths: + - '**' + - '!**.md' + - '!.github/**' + - '!.husky/**' + - '!.tx/**' + - '!doc/**' + - '!webclient/**' + - '.github/workflows/desktop-build.yml' tags: - '*' pull_request: - paths-ignore: - - '**.md' - - 'doc/**' - - 'webclient/**' - - '.github/workflows/docker-*.yml' - - '.github/workflows/documentation-*.yml' - - '.github/workflows/translations-*.yml' - - '.github/workflows/web-*.yml' + paths: + - '**' + - '!**.md' + - '!.github/**' + - '!.husky/**' + - '!.tx/**' + - '!doc/**' + - '!webclient/**' + - '.github/workflows/desktop-build.yml' # Cancel earlier, unfinished runs of this workflow on the same branch (unless on master) concurrency: diff --git a/.github/workflows/desktop-lint.yml b/.github/workflows/desktop-lint.yml index 82b3cc9d2..9f0bcf8a1 100644 --- a/.github/workflows/desktop-lint.yml +++ b/.github/workflows/desktop-lint.yml @@ -2,14 +2,15 @@ name: Code Style (C++) on: pull_request: - paths-ignore: - - '**.md' - - 'doc/**' - - 'webclient/**' - - '.github/workflows/docker-*.yml' - - '.github/workflows/documentation-*.yml' - - '.github/workflows/translations-*.yml' - - '.github/workflows/web-*.yml' + paths: + - '**' + - '!**.md' + - '!.github/**' + - '!.husky' + - '!.tx' + - '!doc/**' + - '!webclient/**' + - '.github/workflows/desktop-lint.yml' jobs: format: