From 7be4db47912511ada40363dbfa5810a990b31a38 Mon Sep 17 00:00:00 2001 From: Dmitry Kalinkin Date: Tue, 7 May 2024 21:31:49 -0400 Subject: [PATCH] mirror.yaml: pass PIPELINE_NAME (#20) --- .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"'