mirror of
https://github.com/tofuutils/pre-commit-opentofu.git
synced 2025-10-15 17:38:54 +02:00
Updated CHANGELOG
This commit is contained in:
parent
7694fb9b9a
commit
29fa14037b
2 changed files with 74 additions and 26 deletions
|
|
@ -1,3 +1,7 @@
|
|||
# Change Log
|
||||
|
||||
All notable changes to this project will be documented in this file.
|
||||
|
||||
{{ if .Versions -}}
|
||||
<a name="unreleased"></a>
|
||||
## [Unreleased]
|
||||
|
|
@ -5,12 +9,40 @@
|
|||
{{ range .Unreleased.CommitGroups -}}
|
||||
### {{ .Title }}
|
||||
{{ range .Commits -}}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}}
|
||||
{{- if not (contains .Subject "[ci skip]") -}}
|
||||
{{- if not (contains .Subject "[skip ci]") -}}
|
||||
{{- if not (hasPrefix .Subject "Merge pull request ") -}}
|
||||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}}
|
||||
{{- /* SKIPPING RULES - END */ -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{/* SKIPPING RULES - END */ -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ else }}
|
||||
{{ range .Unreleased.Commits -}}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}}
|
||||
{{- if not (contains .Subject "[ci skip]") -}}
|
||||
{{- if not (contains .Subject "[skip ci]") -}}
|
||||
{{- if not (hasPrefix .Subject "Merge pull request ") -}}
|
||||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}}
|
||||
{{- /* SKIPPING RULES - END */ -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{/* SKIPPING RULES - END */ -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
|
|
@ -22,12 +54,40 @@
|
|||
{{ range .CommitGroups -}}
|
||||
### {{ .Title }}
|
||||
{{ range .Commits -}}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}}
|
||||
{{- if not (contains .Subject "[ci skip]") -}}
|
||||
{{- if not (contains .Subject "[skip ci]") -}}
|
||||
{{- if not (hasPrefix .Subject "Merge pull request ") -}}
|
||||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}}
|
||||
{{- /* SKIPPING RULES - END */ -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{/* SKIPPING RULES - END */ -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ else }}
|
||||
{{ range .Commits -}}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{- if not (hasPrefix .Subject "Updated CHANGELOG") -}}
|
||||
{{- if not (contains .Subject "[ci skip]") -}}
|
||||
{{- if not (contains .Subject "[skip ci]") -}}
|
||||
{{- if not (hasPrefix .Subject "Merge pull request ") -}}
|
||||
{{- if not (hasPrefix .Subject "Added CHANGELOG") -}}
|
||||
{{- /* SKIPPING RULES - END */ -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
{{/* SKIPPING RULES - START */ -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{/* SKIPPING RULES - END */ -}}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue