Skip to content

Commit f614584

Browse files
committed
Use author and commit description for pipeline naming
Signed-off-by: Thomas <[email protected]>
1 parent ec3de2f commit f614584

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,26 +2,21 @@
22
default:
33
image: mcr.microsoft.com/devcontainers/python:1-3.12-bookworm
44

5-
variables:
6-
PIPELINE_NAME: 'CI_COMMIT_BRANCH' # A default is not required
7-
85
workflow:
9-
name: 'Pipeline for branch: $PIPELINE_NAME'
6+
name: '$CI_COMMIT_AUTHOR: $CI_COMMIT_TITLE'
107
auto_cancel:
118
on_new_commit: interruptible
129
on_job_failure: all
1310
rules:
1411
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
1512
variables:
1613
DEPLOY_ENV: "development"
17-
PIPELINE_NAME: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME'
1814
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
1915
variables:
2016
DEPLOY_ENV: "staging"
2117
- if: $CI_COMMIT_BRANCH == $CI_COMMIT_TAG
2218
variables:
2319
DEPLOY_ENV: "production"
24-
PIPELINE_NAME: '$CI_COMMIT_TAG'
2520
- when: never
2621

2722
stages:

0 commit comments

Comments
 (0)