diff --git a/.github/workflows/language_lint.yml b/.github/workflows/language_lint.yml index 17ee7d7e7..9fb7423cf 100644 --- a/.github/workflows/language_lint.yml +++ b/.github/workflows/language_lint.yml @@ -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 diff --git a/.github/workflows/lint_commit.yml b/.github/workflows/lint_commit.yml index c344c064a..52a8fc0fb 100644 --- a/.github/workflows/lint_commit.yml +++ b/.github/workflows/lint_commit.yml @@ -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: