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

View File

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