Make lint workflows ignore generated folder

But run them on linter and workflow changes
This commit is contained in:
AnimeGitB 2022-08-23 10:33:32 +09:30
parent 36b71d0198
commit 6e35625f1a
2 changed files with 11 additions and 3 deletions

View File

@ -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

View File

@ -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: