Skip to content

The open alternative to Salesforce, designed for AI.

Fix CI not running on main

Charles Bochet2f72e22ff95e
diff --git a/.github/workflows/ci-chrome-extension.yaml b/.github/workflows/ci-chrome-extension.yaml
index 071104d31cb..15d99938b13 100644
--- a/.github/workflows/ci-chrome-extension.yaml
+++ b/.github/workflows/ci-chrome-extension.yaml
@@ -22,6 +22,8 @@ jobs:
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Check for changed files
id: changed-files
diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yaml
index d0a8a4c360e..20c616e75ab 100644
--- a/.github/workflows/ci-front.yaml
+++ b/.github/workflows/ci-front.yaml
@@ -23,6 +23,8 @@ jobs:
access_token: ${{ github.token }}
- name: Fetch local actions
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Check for changed files
id: changed-files
@@ -38,7 +40,7 @@ jobs:
run: echo "No relevant changes. Skipping CI."
- name: Install dependencies
- if: steps.changed-files.outputs.any_changed == 'true'
+ if: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/workflows/actions/yarn-install
- name: Diagnostic disk space issue
if: steps.changed-files.outputs.any_changed == 'true'
@@ -56,7 +58,6 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true'
run: npx nx storybook:build twenty-front
front-sb-test:
-
runs-on: ci-8-cores
timeout-minutes: 60
needs: front-sb-build
@@ -69,6 +70,8 @@ jobs:
steps:
- name: Fetch local actions
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Check for changed files
id: changed-files
uses: tj-actions/changed-files@v11
@@ -149,6 +152,8 @@ jobs:
steps:
- name: Fetch local actions
uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Check for changed files
id: changed-files
uses: tj-actions/changed-files@v11
@@ -242,7 +247,7 @@ jobs:
run: echo "No relevant changes. Skipping CI."
- name: Install dependencies
- if: steps.changed-files.outputs.any_changed == 'true'
+ if: steps.changed-files.outputs.any_changed == 'true'
uses: ./.github/workflows/actions/yarn-install
- name: Front / Restore ${{ matrix.task }} task cache
if: steps.changed-files.outputs.any_changed == 'true'
diff --git a/.github/workflows/ci-website.yaml b/.github/workflows/ci-website.yaml
index ce39d66ca79..1b015c2a34e 100644
--- a/.github/workflows/ci-website.yaml
+++ b/.github/workflows/ci-website.yaml
@@ -24,6 +24,8 @@ jobs:
- 5432:5432
steps:
- uses: actions/checkout@v4
+ with:
+ fetch-depth: 0
- name: Check for changed files
id: changed-files
uses: tj-actions/changed-files@v11