diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml index a6623332..ead48e06 100644 --- a/.github/workflows/api.yml +++ b/.github/workflows/api.yml @@ -8,6 +8,8 @@ on: branches: ["main"] pull_request: branches: ["main"] + paths: + - "src/api/**" permissions: contents: read diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 0f5819a3..23d6c686 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -8,6 +8,8 @@ on: branches: ["main"] pull_request: branches: ["main"] + paths: + - "src/client/**" permissions: contents: read diff --git a/.github/workflows/dashboard.yml b/.github/workflows/dashboard.yml index e941afa8..7b0976f6 100644 --- a/.github/workflows/dashboard.yml +++ b/.github/workflows/dashboard.yml @@ -5,9 +5,11 @@ name: dashboard CI on: push: - branches: [ "main" ] + branches: ["main"] pull_request: - branches: [ "main" ] + branches: ["main"] + paths: + - "src/dashboard/**" jobs: build-dashboard: @@ -26,7 +28,7 @@ jobs: run: | cd src/dashboard pipenv install -d - + lint-dashboard: needs: build-dashboard runs-on: ubuntu-latest diff --git a/.github/workflows/docker-images.yml b/.github/workflows/docker-images.yml index 7b7422f5..b0e414a9 100644 --- a/.github/workflows/docker-images.yml +++ b/.github/workflows/docker-images.yml @@ -5,6 +5,9 @@ on: branches: ["main"] pull_request: branches: ["main"] + paths: + - "src/api/**" + - "src/client/**" jobs: build: diff --git a/.github/workflows/prefect.yml b/.github/workflows/prefect.yml index 9dbcf398..2a96e8b9 100644 --- a/.github/workflows/prefect.yml +++ b/.github/workflows/prefect.yml @@ -8,6 +8,8 @@ on: branches: ["main"] pull_request: branches: ["main"] + paths: + - "src/prefect/**" permissions: contents: read