Changie/add mr to question

This commit is contained in:
2026-02-11 13:27:48 +00:00
parent 290fa7a77c
commit a87d936828
3 changed files with 15 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
kind: DX
body: Configure changie to ask for merge request number for a better tracking of changes
time: 2026-02-10T16:12:02.400722306+01:00
custom:
Issue: ""
MR: "960"
SchemaChange: No schema change

View File

@@ -3,4 +3,5 @@ body: For giving edit permissions on documents, take into account the workflow c
time: 2026-02-10T15:52:09.785649121+01:00
custom:
Issue: "498"
MR: ""
SchemaChange: No schema change

View File

@@ -7,7 +7,7 @@ versionFormat: '## {{.Version}} - {{.Time.Format "2006-01-02"}}'
kindFormat: '### {{.Kind}}'
# Note: it is possible to add a `.custom.Long` text manually into the yaml file produced by `changie new`. This will add a long description.
changeFormat: >-
* {{ if not (eq .Custom.Issue "") }}([#{{ .Custom.Issue }}](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/{{ .Custom.Issue }})) {{ end }}{{ .Body }} {{ if and .Custom.SchemaChange (ne .Custom.SchemaChange "No schema change") }}
* {{ if not (eq .Custom.Issue "") }}([#{{ .Custom.Issue }}](https://gitlab.com/Chill-Projet/chill-bundles/-/issues/{{ .Custom.Issue }})) {{ end }}{{ if not (eq .Custom.MR "") }}([!{{ .Custom.MR }}](https://gitlab.com/Chill-Projet/chill-bundles/-/merge_requests/{{ .Custom.MR }})) {{ end }}{{ .Body }} {{ if and .Custom.SchemaChange (ne .Custom.SchemaChange "No schema change") }}
**Schema Change**: {{ .Custom.SchemaChange }}
{{- end -}}
@@ -30,6 +30,12 @@ custom:
type: int
minInt: 1
- key: MR
label: Merge request number (on chill-bundles repository) (optional)
optional: true
type: int
minInt: 1
body:
# allow multiline messages
block: true