Skip to content

Commit

Permalink
mirror.yaml: pass PIPELINE_NAME (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
veprbl authored May 8, 2024
1 parent 03850ad commit 7be4db4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/mirror.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ variables:
GITHUB_REPOSITORY: ''

workflow:
name: '$PIPELINE_NAME'
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
- if: '$CI_PIPELINE_SOURCE == "web"'
Expand Down

0 comments on commit 7be4db4

Please sign in to comment.