mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 22:42:14 -07:00
revert push trigger and add hint
This commit is contained in:
parent
82a12dd19a
commit
487ec66c65
2 changed files with 2 additions and 24 deletions
18
.github/workflows/desktop-lint.yml
vendored
18
.github/workflows/desktop-lint.yml
vendored
|
|
@ -1,23 +1,7 @@
|
|||
name: Code Style (C++)
|
||||
|
||||
on:
|
||||
push:
|
||||
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'
|
||||
# push trigger not needed for linting, we do not allow direct pushes to master
|
||||
pull_request:
|
||||
paths:
|
||||
- '*/**' # matches all files not in root
|
||||
|
|
|
|||
8
.github/workflows/web-lint.yml
vendored
8
.github/workflows/web-lint.yml
vendored
|
|
@ -1,13 +1,7 @@
|
|||
name: Code Style (TypeScript)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- 'webclient/**'
|
||||
- '!**.md'
|
||||
- '.github/workflows/web-lint.yml'
|
||||
# push trigger not needed for linting, we do not allow direct pushes to master
|
||||
pull_request:
|
||||
paths:
|
||||
- 'webclient/**'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue