Skip to content

Commit f4e2d22

Browse files
committed
BUILD/MINOR: ci: add CI question for backport need
this will ask do we need to backport certain feature to all maintained branches
1 parent 94dffe5 commit f4e2d22

5 files changed

Lines changed: 465 additions & 0 deletions

File tree

.aspell.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ allowed:
3737
- crt
3838
- ocsp
3939
- logrus
40+
- backport

.gitlab-ci.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
stages:
2+
- bots
23
- lint
34
- checks
45
- build
@@ -11,6 +12,18 @@ variables:
1112
GO_VERSION: "1.24"
1213
DOCKER_VERSION: "26.0"
1314

15+
mr-backport-question:
16+
stage: bots
17+
needs: []
18+
image:
19+
name: $CI_REGISTRY_GO/docker:$DOCKER_VERSION-go$GO_VERSION
20+
entrypoint: [ "" ]
21+
rules:
22+
- if: $CI_PIPELINE_SOURCE == 'merge_request_event' && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
23+
tags:
24+
- go
25+
script:
26+
- go run cmd/gitlab-mr-checker/main.go
1427
diff:
1528
stage: lint
1629
image:

0 commit comments

Comments
 (0)