mirror of
https://github.com/Anime-Game-Servers/Grasscutter-Quests.git
synced 2024-11-27 06:20:37 +00: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: ~
|
||||
push:
|
||||
paths:
|
||||
- "**.java"
|
||||
- ".github/workflows/**"
|
||||
- "src/main/**.java"
|
||||
- "**.json"
|
||||
- "manage_languages.py"
|
||||
branches:
|
||||
- "stable"
|
||||
- "development"
|
||||
pull_request:
|
||||
paths:
|
||||
- "**.java"
|
||||
- ".github/workflows/**"
|
||||
- "src/main/**.java"
|
||||
- "**.json"
|
||||
- "manage_languages.py"
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
6
.github/workflows/lint_commit.yml
vendored
6
.github/workflows/lint_commit.yml
vendored
@ -3,8 +3,12 @@ on:
|
||||
workflow_dispatch: ~
|
||||
push:
|
||||
paths:
|
||||
- "**.java"
|
||||
- ".github/workflows/**"
|
||||
- "src/main/**.java"
|
||||
- "**.json"
|
||||
- "build.gradle"
|
||||
- "format_whitespace.py"
|
||||
- "manage_languages.py"
|
||||
branches:
|
||||
- "development"
|
||||
jobs:
|
||||
|
Loading…
Reference in New Issue
Block a user