From 1d7b20e1d64aa47f09831b1f7033c60e2f3b6957 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Wed, 5 Jul 2023 09:16:45 +0200 Subject: [PATCH] Fix CI --- .github/workflows/ci-server.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-server.yaml b/.github/workflows/ci-server.yaml index 6e18ec4ef..82c24cac9 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