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++)
|
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
|
||||||
|
|
|
||||||
8
.github/workflows/web-lint.yml
vendored
8
.github/workflows/web-lint.yml
vendored
|
|
@ -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/**'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue