From e65f98476851c9946dfb056baca4e59732443ab7 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 1 Jul 2024 23:57:00 -0400 Subject: [PATCH] linux-eic-shell.yml: trigger eicweb with PR merge sha instead of HEAD (#751) --- .github/workflows/linux-eic-shell.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/linux-eic-shell.yml b/.github/workflows/linux-eic-shell.yml index 19bd9b90d..778c7f654 100644 --- a/.github/workflows/linux-eic-shell.yml +++ b/.github/workflows/linux-eic-shell.yml @@ -140,7 +140,7 @@ jobs: DETECTOR_REPOSITORYURL=${{ github.server_url }}/${{ github.repository }} DETECTOR_REPOSITORYREF=${{ github.ref }} DETECTOR_CONFIG=${{ needs.list-detector-configs.outputs.configs_csv }} - DETECTOR_VERSION=${{ github.event.pull_request.head.ref || github.ref_name }} + DETECTOR_VERSION=${{ github.sha }} GITHUB_REPOSITORY=${{ github.repository }} GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }} GITHUB_PR=${{ github.event.pull_request.number }} @@ -545,11 +545,11 @@ jobs: variables: | DETECTOR=epic DETECTOR_REPOSITORYURL=${{ github.server_url }}/${{ github.repository }} - DETECTOR_VERSION=${{ github.event.pull_request.head.ref || github.ref_name }} + DETECTOR_VERSION=${{ github.sha }} DETECTOR_CONFIG=${{ matrix.detector_config }} GITHUB_REPOSITORY=${{ github.repository }} GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }} - PIPELINE_NAME=${{ github.event.pull_request.title || github.sha }} + PIPELINE_NAME=${{ github.event.pull_request.title || github.ref_name }} - run: | gh api \ --method POST \