Skip to content

The open alternative to Salesforce, designed for AI.

Fix CI

Charles Bochet1d7b20e1d64a
diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml
index 6e18ec4ef3d..82c24cac9a8 100644
--- a/.github/workflows/ci-server.yaml
+++ b/.github/workflows/ci-server.yaml
@@ -9,11 +9,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- if: github.event_name != 'pull_request_target'
+ if: github.event_name == 'push'
with:
ref: ${{ github.head_ref || github.ref_name }}
- uses: actions/checkout@v3
- if: github.head_ref == 'pull_request_target'
+ if: github.event_name == 'pull_request_target'
with:
ref: "refs/pull/${{ github.event.number }}/merge"
- name: Setup Node.js