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: