Skip to content

Commit 4adc1d0

Browse files
committed
BUILD/MINOR: ci: add ci job for asking backport
1 parent e2e1df1 commit 4adc1d0

File tree

4 files changed

+466
-0
lines changed

4 files changed

+466
-0
lines changed

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,25 @@ variables:
44
GO_VERSION: "1.24"
55
DOCKER_VERSION: "26.0"
66
stages:
7+
- bots
78
- check-commit
89
- generate
910
- build
1011
- lint
1112
- test
1213
- e2e
14+
mr-backport-question:
15+
stage: bots
16+
needs: []
17+
image:
18+
name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
19+
entrypoint: [""]
20+
rules:
21+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
22+
tags:
23+
- go
24+
script:
25+
- go run cmd/gitlab-mr-checker/main.go
1326
build-specification:
1427
stage: build
1528
needs: []

0 commit comments

Comments
 (0)