From e691f67fbe52211d26e159c94f7b95239f67202e Mon Sep 17 00:00:00 2001 From: Pierrick HYMBERT Date: Mon, 1 Apr 2024 08:02:42 +0200 Subject: [PATCH] ci: server: change the ref to build as now it's a pull event target --- .github/workflows/server.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/server.yml b/.github/workflows/server.yml index 1109eae44..d3e153d10 100644 --- a/.github/workflows/server.yml +++ b/.github/workflows/server.yml @@ -4,6 +4,10 @@ name: Server on: workflow_dispatch: # allows manual triggering inputs: + sha: + description: 'Commit SHA1 to build' + required: false + type: string slow_tests: description: 'Run slow tests' required: true @@ -64,6 +68,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ github.event.inputs.sha || github.event.pull_request.head.sha || github.sha || github.head_ref || github.ref_name }} - name: Verify server deps id: verify_server_deps