diff --git a/.github/workflows/java_lint.yml b/.github/workflows/java_lint.yml index b631819b8..c75222912 100644 --- a/.github/workflows/java_lint.yml +++ b/.github/workflows/java_lint.yml @@ -6,11 +6,11 @@ on: - main pull_request: paths: - - ./crates/voicevox_core_java_api/**/*.java - - ./crates/voicevox_core_java_api/gradle/** - - ./crates/voicevox_core_java_api/gradlew - - ./crates/voicevox_core_java_api/settings.gradle - - ./.github/workflows/java_lint.yml + - 'crates/voicevox_core_java_api/**.java' + - 'crates/voicevox_core_java_api/gradle/**' + - 'crates/voicevox_core_java_api/gradlew' + - 'crates/voicevox_core_java_api/settings.gradle' + - '.github/workflows/java_lint.yml' defaults: run: diff --git a/.github/workflows/python_lint.yml b/.github/workflows/python_lint.yml index c12b256cf..6f6dfd1b3 100644 --- a/.github/workflows/python_lint.yml +++ b/.github/workflows/python_lint.yml @@ -6,11 +6,11 @@ on: - main pull_request: paths: - - ./example/python/**/*.py - - ./crates/voicevox_core_python_api/**/*.py - - ./crates/voicevox_core_python_api/requirements*.txt - - ./crates/voicevox_core_python_api/pyproject.toml - - ./.github/workflows/python_lint.yml + - 'example/python/**.py' + - 'crates/voicevox_core_python_api/**.py' + - 'crates/voicevox_core_python_api/requirements*.txt' + - 'crates/voicevox_core_python_api/pyproject.toml' + - '.github/workflows/python_lint.yml' defaults: run: @@ -37,4 +37,4 @@ jobs: working-directory: ./example/python run: | black --check . - isort --check . + isort --check --profile black .