This repository has been archived by the owner on Aug 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 9f9ea59
Showing
9 changed files
with
1,261 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# Changelog | ||
|
||
{{ if .Versions -}} | ||
{{ if .Unreleased.CommitGroups -}} | ||
<a name="unreleased"></a> | ||
## [Unreleased] | ||
|
||
{{ if .Unreleased.NoteGroups -}} | ||
{{ range .Unreleased.NoteGroups -}} | ||
### {{ if eq .Title "BREAKING CHANGES" }}⚠️{{ end }} {{ .Title }} | ||
{{ range .Notes -}} | ||
{{ .Body }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Unreleased.CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }})) | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
|
||
{{ if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ if eq .Title "BREAKING CHANGES" }}⚠️{{ end }} {{ .Title }} | ||
{{ range .Notes -}} | ||
{{ .Body }} | ||
{{ end -}} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }})) | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .RevertCommits -}} | ||
### Reverts | ||
{{ range .RevertCommits -}} | ||
- {{ .Revert.Header }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }})) | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .MergeCommits -}} | ||
### Merged Pull Requests | ||
{{ range .MergeCommits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} by @{{ .Author.Name }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{ end -}} | ||
|
||
{{ if .Versions }} | ||
<!-- tag references --> | ||
{{ if .Unreleased.CommitGroups -}} | ||
[Unreleased]: {{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD | ||
{{ end -}} | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
<!-- diana:{diana_urn_flavor}:{remote}:{source}:{version}:{remote_path}:{type} --> | ||
<!-- diana:2:github:tprasadtp/templates::common/chglog/CHANGELOG.md.tpl:static --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Release Notes | ||
|
||
{{ if .Versions -}} | ||
{{ range .Versions -}} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} | ||
|
||
{{ if .NoteGroups -}} | ||
{{ range .NoteGroups -}} | ||
### {{ if eq .Title "BREAKING CHANGES" }}⚠️{{ end }} {{ .Title }} | ||
{{ range .Notes -}} | ||
{{ .Body }} | ||
{{ end -}} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
{{ range .Commits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }})) | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .RevertCommits -}} | ||
### Reverts | ||
{{ range .RevertCommits -}} | ||
- {{ .Revert.Header }} ([{{ .Hash.Short }}]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }})) | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .MergeCommits -}} | ||
### Merged Pull Requests | ||
{{ range .MergeCommits -}} | ||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} by @{{ .Author.Name }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ if .Versions }} | ||
<!-- tag references --> | ||
{{ range .Versions -}} | ||
{{ if .Tag.Previous -}} | ||
[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
<!-- diana:{diana_urn_flavor}:{remote}:{source}:{version}:{remote_path}:{type} --> | ||
<!-- diana:2:github:tprasadtp/templates::common/chglog/RELEASE_NOTES.md.tpl:static --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
style: github | ||
template: CHANGELOG.md.tpl | ||
info: | ||
title: CHANGELOG | ||
options: | ||
commits: | ||
filters: | ||
Type: | ||
- feat | ||
- fix | ||
- perf | ||
- docs | ||
- refactor | ||
- ci | ||
- chore | ||
commit_groups: | ||
group_by: Type | ||
sort_by: Title | ||
title_order: | ||
- feat | ||
- fix | ||
- perf | ||
- docs | ||
- refactor | ||
- ci | ||
- chore | ||
title_maps: | ||
feat: "🍒 Features & Enhancements" | ||
fix: "🐛 Bug Fixes" | ||
perf: "🚀 Performance Improvements" | ||
docs: "📖 Documentation" | ||
refactor: "🌱 Code Refactoring" | ||
chore: "🚧 Maintanance" | ||
ci: "🤖 CI/CD & Automation" | ||
header: | ||
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$" | ||
pattern_maps: | ||
- Type | ||
- Scope | ||
- Subject | ||
notes: | ||
keywords: | ||
- BREAKING CHANGES | ||
- SECURITY UPDATES | ||
- CVE | ||
- FIXES | ||
|
||
issues: | ||
prefix: | ||
- "#" | ||
- GH- | ||
- GITHUB- | ||
|
||
refs: | ||
actions: | ||
- Closes | ||
- Fixes | ||
- Resolves | ||
|
||
merges: | ||
pattern: "^Merge branch '(\\w+)'$" | ||
pattern_maps: | ||
- Source | ||
|
||
reverts: | ||
pattern: "^Revert \"([\\s\\S]*)\"$" | ||
pattern_maps: | ||
- Header | ||
|
||
# diana:{diana_urn_flavor}:{remote}:{source}:{version}:{remote_path}:{type} | ||
# diana:2:github:tprasadtp/templates::common/chglog/config.yml:static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
root = true | ||
|
||
# Default | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 4 | ||
indent_style = space | ||
max_line_length = 80 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# Makefiles and Make Templates | ||
[{Makefile,GNUMakefile,*.mk}] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
# YAML | ||
[{*.yml,*.yaml}] | ||
indent_size = 2 | ||
|
||
# Go | ||
# https://golang.org/cmd/gofmt/ | ||
[{go.mod,go.sum,*.go}] | ||
indent_style = tab | ||
indent_size = 4 | ||
|
||
[Dockerfile] | ||
indent_size = 4 | ||
|
||
# diana:{diana_urn_flavor}:{remote}:{source}:{version}:{remote_path}:{type} | ||
# diana:2:github:tprasadtp/templates::core/.editorconfig:static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
version: 2 | ||
updates: | ||
# Actions | ||
- package-ecosystem: github-actions | ||
labels: | ||
- "Actor:Dependabot" | ||
- "Deps:Actions" | ||
commit-message: | ||
prefix: "ci(deps):" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" | ||
day: "saturday" | ||
pull-request-branch-name: | ||
separator: "-" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
name: "stale" | ||
on: | ||
schedule: | ||
- cron: "30 1 * * *" | ||
workflow_dispatch: | ||
inputs: | ||
dry_run: | ||
description: "Debug/Dry Run" | ||
required: true | ||
default: "false" | ||
permissions: | ||
contents: read | ||
issues: write | ||
pull-requests: write | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check if dry run is set | ||
id: check_debug | ||
run: | | ||
if [[ ${GH_EVENT_NAME} == "workfow_dispatch" ]]; then | ||
if [[ ${GH_INPUT_DRY_RUN} != "false" ]]; then | ||
echo "::set-output name=result::true" | ||
else | ||
echo "::set-output name=result::false" | ||
fi | ||
else | ||
echo "::set-output name=result::false" | ||
fi | ||
env: | ||
GH_EVENT_NAME: ${{ github.event_name }} | ||
GH_INPUT_DRY_RUN: ${{ github.event.inputs.dry_run }} | ||
|
||
- uses: actions/stale@v3 | ||
with: | ||
# Dry run | ||
debug-only: ${{ steps.check_debug.outputs.result }} | ||
enable-statistics: true | ||
# Issues | ||
stale-issue-message: "This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days." | ||
close-issue-message: "This issue was closed because it has been stalled for 14 days with no activity." | ||
stale-issue-label: "Status:Stale" | ||
days-before-issue-stale: 60 | ||
days-before-issue-close: 14 | ||
|
||
# PRs | ||
days-before-pr-stale: 60 | ||
days-before-pr-close: 30 | ||
stale-pr-label: "Status:Stale" | ||
close-pr-message: "This PR was closed because it has been stalled for 30 days with no activity." | ||
stale-pr-message: "This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days." | ||
|
||
# Milestones | ||
exempt-all-pr-milestones: true | ||
|
||
# do not act on following Labels | ||
exempt-issue-labels: "Actor:Luna,Status:Keep-Open,Status:Pending,Status:Blocked,Priority:Critical" | ||
exempt-pr-labels: "Actor:Luna,Status:Keep-Open,Status:Pending,Status:Blocked,Priority:Critical" |
Oops, something went wrong.