diff --git a/.github/workflows/run-static.yml b/.github/workflows/run-static.yml index 9cf63f63d..526844f6c 100644 --- a/.github/workflows/run-static.yml +++ b/.github/workflows/run-static.yml @@ -14,13 +14,10 @@ on: - "uv.lock" - "pyproject.toml" - ".github/workflows/**" + + # run on all pull requests because these checks are required and will block merges otherwise pull_request: - paths: - - "src/**" - - "tests/**" - - "uv.lock" - - "pyproject.toml" - - ".github/workflows/**" + workflow_dispatch: permissions: diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index ec4457e24..c201aca74 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -13,13 +13,9 @@ on: - "uv.lock" - "pyproject.toml" - ".github/workflows/**" + + # run on all pull requests because these checks are required and will block merges otherwise pull_request: - paths: - - "src/**" - - "tests/**" - - "uv.lock" - - "pyproject.toml" - - ".github/workflows/**" workflow_dispatch: