From f034bca82d4c1ebb832d71693f9544a3eb818808 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin <dkalinkin@bnl.gov> Date: Fri, 17 May 2024 10:21:28 -0400 Subject: [PATCH] mirror.yaml: pass PIPELINE_NAME (#8) --- .github/workflows/mirror.yaml | 5 +++-- .gitlab-ci.yml | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index 9f3ce3c6..a314aaca 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -28,13 +28,14 @@ jobs: username: ${{ secrets.GITLAB_USERNAME }} ciskip: true - name: Trigger EICweb - uses: eic/trigger-gitlab-ci@v2 + uses: eic/trigger-gitlab-ci@v3 with: url: https://eicweb.phy.anl.gov project_id: 400 token: ${{ secrets.EICWEB_PHYSICS_BENCHMARKS_TRIGGER }} ref_name: ${{ github.event.pull_request.head.ref || github.ref }} - variables: + variables: | GITHUB_REPOSITORY=${{ github.repository }} GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }} GITHUB_PR=${{ github.event.pull_request.number }} + PIPELINE_NAME=${{ github.repository }}: ${{ github.event.pull_request.title || github.ref_name }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3efd48a2..13c83def 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,6 +6,9 @@ variables: DETECTOR_CONFIG: epic_craterlake DETECTOR_REPOSITORYURL: 'https://github.com/eic/epic.git' +workflow: + name: '$PIPELINE_NAME' + default: before_script: - source .local/bin/env.sh -- GitLab