diff --git a/.github/workflows/core-ci.yml b/.github/workflows/core-ci.yml index 82cbd28..7ce4b4c 100644 --- a/.github/workflows/core-ci.yml +++ b/.github/workflows/core-ci.yml @@ -8,10 +8,14 @@ on: - 'modern_di/**' - 'tests/**' - '.github/workflows/core-ci.yml' - pull_request: {} + pull_request: + paths: + - 'modern_di/**' + - 'tests/**' + - '.github/workflows/core-ci.yml' concurrency: - group: ${{ github.head_ref || github.run_id }} + group: ${{ github.head_ref || github.run_id }} core cancel-in-progress: true jobs: diff --git a/.github/workflows/fastapi-ci.yml b/.github/workflows/fastapi-ci.yml index 633f654..7811367 100644 --- a/.github/workflows/fastapi-ci.yml +++ b/.github/workflows/fastapi-ci.yml @@ -7,15 +7,18 @@ on: paths: - 'integrations/fastapi/**' - '.github/workflows/fastapi-ci.yml' - pull_request: {} + pull_request: + paths: + - 'integrations/fastapi/**' + - '.github/workflows/fastapi-ci.yml' defaults: run: working-directory: integrations/fastapi concurrency: - group: ${{ github.head_ref || github.run_id }} - cancel-in-progress: true + group: ${{ github.head_ref || github.run_id }} fastapi + cancel-in-progress: false jobs: lint: