-
Notifications
You must be signed in to change notification settings - Fork 68
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
Showing
141 changed files
with
4,043 additions
and
709 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,46 @@ | ||
{{ range .Versions }} | ||
<a name="{{ .Tag.Name }}"></a> | ||
## {{ if .Tag.Previous }}[Release {{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} | ||
|
||
> Release Date: {{ datetime "2006-01-02" .Tag.Date }} | ||
{{ range .CommitGroups -}} | ||
### {{ .Title }} | ||
|
||
{{ range .Commits -}} | ||
- [{{ .Hash.Short }}]{{"\t"}}{{ .Subject }}{{ range .Refs }} (#{{ .Ref }}) {{ end }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
{{- if .RevertCommits -}} | ||
### ⏮ Reverts | ||
|
||
{{ range .RevertCommits -}} | ||
- [{{ .Hash.Short }}]{{"\t"}}{{ .Revert.Header }}{{ range .Refs }} (#{{ .Ref }}) {{ end }} | ||
{{ end }} | ||
{{ end -}} | ||
|
||
### ⚠️ BREAKING | ||
|
||
{{ range .Commits -}} | ||
{{ if .Notes -}} | ||
{{ if not .Merge -}} | ||
{{ if not (contains .Header "Update CHANGELOG for" ) -}} | ||
{{ range .Notes }}{{ .Body }} | ||
{{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
### 📖 Commits | ||
|
||
{{ range .Commits -}} | ||
{{ if not .Merge -}} | ||
{{ if not (or (contains .Header "Update CHANGELOG for") (contains .Header "Merge branch" )) -}} | ||
- [{{ .Hash.Short }}]{{"\t"}}{{ .Header }}{{ range .Refs }} (#{{ .Ref }}){{ end }} | ||
{{ end -}} | ||
{{ end -}} | ||
{{ end -}} | ||
|
||
{{ end -}} |
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,31 @@ | ||
style: github | ||
template: CHANGELOG.tpl.md | ||
info: | ||
title: CHANGELOG | ||
repository_url: https://github.com/vmware-samples/vcenter-event-broker-appliance | ||
options: | ||
commits: | ||
filters: | ||
Type: | ||
- fix | ||
- feat | ||
- chore | ||
- docs | ||
commit_groups: | ||
title_maps: | ||
fix: 🐞 Fix | ||
feat: 💫 Feature | ||
chore: 🧹 Chore | ||
docs: 📃 Documentation | ||
header: | ||
pattern: "^(\\w*)\\:\\s(.*)$" | ||
pattern_maps: | ||
- Type | ||
- Subject | ||
refs: | ||
actions: | ||
- Closes | ||
- Fixes | ||
notes: | ||
keywords: | ||
- "BREAKING" |
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
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 @@ | ||
Howdy 🖐 {{ .author }} ! Thank you for your interest in this project. We value your feedback and will respond soon. |
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
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,33 @@ | ||
name: Greeting | ||
|
||
on: | ||
issues: | ||
types: ["opened"] | ||
|
||
jobs: | ||
greeting: | ||
name: Send Greeting | ||
runs-on: ubuntu-latest | ||
# only send message to users not (yet) associated with repo | ||
# https://docs.github.com/en/graphql/reference/enums#commentauthorassociation | ||
if: github.event.issue.author_association == 'NONE' | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Render template | ||
id: template | ||
uses: chuhlomin/render-template@v1.2 | ||
with: | ||
template: .github/comment-template.md | ||
vars: | | ||
author: ${{ github.actor }} | ||
- name: Create comment | ||
uses: peter-evans/create-or-update-comment@v1 | ||
with: | ||
issue-number: ${{ github.event.issue.number }} | ||
body: ${{ steps.template.outputs.result }} |
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,48 @@ | ||
name: Release Notes | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
changelog: | ||
name: Create CHANGELOG PR | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
# for changelog | ||
fetch-depth: 0 | ||
ref: master | ||
|
||
- name: Create CHANGELOG commit | ||
env: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
IMAGE: quay.io/git-chglog/git-chglog | ||
# https://quay.io/repository/git-chglog/git-chglog from tag v0.14.2 | ||
IMAGE_SHA: 998e89dab8dd8284cfff5f8cfb9e9af41fe3fcd4671f2e86a180e453c20959e3 | ||
run: | | ||
# update CHANGELOG | ||
docker run --rm -v $PWD:/workdir ${IMAGE}@sha256:${IMAGE_SHA} -o CHANGELOG.md | ||
git config user.email "${{ github.actor }}@users.noreply.github.com" | ||
git config user.name "${{ github.actor }}" | ||
git add CHANGELOG.md | ||
git commit -s -m "Update CHANGELOG for $(basename ${{ github.ref }})" | ||
- name: Create Pull Request | ||
id: cpr | ||
uses: peter-evans/create-pull-request@v3 | ||
with: | ||
delete-branch: true | ||
title: "Update CHANGELOG" | ||
reviewers: embano1 | ||
body: | | ||
Update CHANGELOG.md for new release | ||
- name: Check outputs | ||
run: | | ||
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}" | ||
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}" |
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
Oops, something went wrong.