From 7a76a02c0c23b5514545c933efb91baeb296a565 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Mon, 6 May 2024 19:17:54 -0400 Subject: [PATCH] mirror.yaml: pass PIPELINE_NAME --- .github/workflows/mirror.yaml | 1 + .gitlab-ci.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/mirror.yaml b/.github/workflows/mirror.yaml index f066e235..eed20c12 100644 --- a/.github/workflows/mirror.yaml +++ b/.github/workflows/mirror.yaml @@ -38,3 +38,4 @@ jobs: GITHUB_REPOSITORY=${{ github.repository }} GITHUB_SHA=${{ github.event.pull_request.head.sha || github.sha }} GITHUB_PR=${{ github.event.pull_request.number }} + PIPELINE_NAME=${{ github.event.pull_request.title }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 97f28ace..0d54172f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,6 +8,7 @@ variables: GITHUB_REPOSITORY: '' workflow: + name: '$PIPELINE_NAME' rules: - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' - if: '$CI_PIPELINE_SOURCE == "web"'