The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
Fix CI
Charles Bochet463994df1f2a
diff --git a/.github/workflows/ci-chromatic.yaml b/.github/workflows/ci-chromatic.yamlindex 0430679898f..e0ddc24620e 100644--- a/.github/workflows/ci-chromatic.yaml+++ b/.github/workflows/ci-chromatic.yaml@@ -13,9 +13,15 @@ jobs:REACT_APP_AUTH_URL: http://127.0.0.1:3000/authsteps:- uses: actions/checkout@v3+ if: github.event_name == 'push'with:fetch-depth: 0ref: ${{ github.head_ref || github.ref_name }}+ - uses: actions/checkout@v3+ if: github.event_name == 'pull_request_target'+ with:+ fetch-depth: 0+ ref: "refs/pull/${{ github.event.number }}/merge"- name: Setup Node.jsuses: actions/setup-node@v3with:diff --git a/.github/workflows/ci-docs.yaml b/.github/workflows/ci-docs.yamlindex de7dddd888e..13b31ea9c73 100644--- a/.github/workflows/ci-docs.yaml+++ b/.github/workflows/ci-docs.yaml@@ -9,8 +9,13 @@ jobs:runs-on: ubuntu-lateststeps:- uses: actions/checkout@v3+ if: github.event_name == 'push'with:ref: ${{ github.head_ref || github.ref_name }}+ - uses: actions/checkout@v3+ if: github.event_name == 'pull_request_target'+ with:+ ref: "refs/pull/${{ github.event.number }}/merge"- name: Setup Node.jsuses: actions/setup-node@v3with:diff --git a/.github/workflows/ci-front.yaml b/.github/workflows/ci-front.yamlindex 6708b74d839..48003607639 100644--- a/.github/workflows/ci-front.yaml+++ b/.github/workflows/ci-front.yaml@@ -12,8 +12,13 @@ jobs:REACT_APP_AUTH_URL: http://127.0.0.1:3000/authsteps:- uses: actions/checkout@v3+ if: github.event_name == 'push'with:ref: ${{ github.head_ref || github.ref_name }}+ - uses: actions/checkout@v3+ if: github.event_name == 'pull_request_target'+ with:+ ref: "refs/pull/${{ github.event.number }}/merge"- name: Setup Node.jsuses: actions/setup-node@v3with: