diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a50824e4..945ba092 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,9 +2,9 @@ name: build on: push: - branches: [ '.github/workflows/build.yml', 'LunaTranslator/**' , 'plugins/**' ] + paths: [ '.github/workflows/build.yml','build.py', 'LunaTranslator/**' , 'plugins/**' ] pull_request: - branches: [ '.github/workflows/build.yml', 'LunaTranslator/**' , 'plugins/**'] + paths: [ '.github/workflows/build.yml','build.py', 'LunaTranslator/**' , 'plugins/**'] jobs: build: