revert push trigger and add hint

This commit is contained in:
tooomm 2025-10-05 20:28:41 +02:00
parent 82a12dd19a
commit 487ec66c65
2 changed files with 2 additions and 24 deletions

View file

@ -1,23 +1,7 @@
name: Code Style (C++) name: Code Style (C++)
on: on:
push: # push trigger not needed for linting, we do not allow direct pushes to master
branches:
- master
paths:
- '*/**' # matches all files not in root
- '!**.md'
- '!.ci/**'
- '!.github/**'
- '!.husky/**'
- '!.tx/**'
- '!doc/**'
- '!webclient/**'
- '.ci/lint_cpp.sh'
- '.github/workflows/desktop-lint.yml'
- '.clang-format'
- '.cmake-format.json'
- 'format.sh'
pull_request: pull_request:
paths: paths:
- '*/**' # matches all files not in root - '*/**' # matches all files not in root

View file

@ -1,13 +1,7 @@
name: Code Style (TypeScript) name: Code Style (TypeScript)
on: on:
push: # push trigger not needed for linting, we do not allow direct pushes to master
branches:
- master
paths:
- 'webclient/**'
- '!**.md'
- '.github/workflows/web-lint.yml'
pull_request: pull_request:
paths: paths:
- 'webclient/**' - 'webclient/**'