Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

ci(frontend): disable chromatic for this month (#11994)

Ubbe3d1cd03fc8d9
diff --git a/.github/workflows/platform-frontend-ci.yml b/.github/workflows/platform-frontend-ci.yml
index 499bb03170..14676a6a1f 100644
--- a/.github/workflows/platform-frontend-ci.yml
+++ b/.github/workflows/platform-frontend-ci.yml
@@ -27,11 +27,20 @@ jobs:
runs-on: ubuntu-latest
outputs:
cache-key: ${{ steps.cache-key.outputs.key }}
+ components-changed: ${{ steps.filter.outputs.components }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
+ - name: Check for component changes
+ uses: dorny/paths-filter@v3
+ id: filter
+ with:
+ filters: |
+ components:
+ - 'autogpt_platform/frontend/src/components/**'
+
- name: Set up Node.js
uses: actions/setup-node@v4
with:
@@ -90,8 +99,11 @@ jobs:
chromatic:
runs-on: ubuntu-latest
needs: setup
- # Only run on dev branch pushes or PRs targeting dev
- if: github.ref == 'refs/heads/dev' || github.base_ref == 'dev'
+ # Disabled: to re-enable, remove 'false &&' from the condition below
+ if: >-
+ false
+ && (github.ref == 'refs/heads/dev' || github.base_ref == 'dev')
+ && needs.setup.outputs.components-changed == 'true'
steps:
- name: Checkout repository