mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-09 04:32:53 +08:00
Make lint workflows ignore generated folder
But run them on linter and workflow changes
This commit is contained in:
parent
36b71d0198
commit
6e35625f1a
8
.github/workflows/language_lint.yml
vendored
8
.github/workflows/language_lint.yml
vendored
@ -3,15 +3,19 @@ on:
|
|||||||
workflow_dispatch: ~
|
workflow_dispatch: ~
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- "**.java"
|
- ".github/workflows/**"
|
||||||
|
- "src/main/**.java"
|
||||||
- "**.json"
|
- "**.json"
|
||||||
|
- "manage_languages.py"
|
||||||
branches:
|
branches:
|
||||||
- "stable"
|
- "stable"
|
||||||
- "development"
|
- "development"
|
||||||
pull_request:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- "**.java"
|
- ".github/workflows/**"
|
||||||
|
- "src/main/**.java"
|
||||||
- "**.json"
|
- "**.json"
|
||||||
|
- "manage_languages.py"
|
||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
- synchronize
|
- synchronize
|
||||||
|
6
.github/workflows/lint_commit.yml
vendored
6
.github/workflows/lint_commit.yml
vendored
@ -3,8 +3,12 @@ on:
|
|||||||
workflow_dispatch: ~
|
workflow_dispatch: ~
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- "**.java"
|
- ".github/workflows/**"
|
||||||
|
- "src/main/**.java"
|
||||||
- "**.json"
|
- "**.json"
|
||||||
|
- "build.gradle"
|
||||||
|
- "format_whitespace.py"
|
||||||
|
- "manage_languages.py"
|
||||||
branches:
|
branches:
|
||||||
- "development"
|
- "development"
|
||||||
jobs:
|
jobs:
|
||||||
|
Loading…
Reference in New Issue
Block a user