Skip to content

Commit

Permalink
initial prototype to generate changelog with issues, n+n, bugs, enhan…
Browse files Browse the repository at this point in the history
…cements, ux, and excluding release type issues (#30)

Change-Id: Ie8b47f6743d4f27b884422074bcd12ee05ce5b7e
Signed-off-by: nickboldt <nboldt@redhat.com>
  • Loading branch information
nickboldt committed Mar 9, 2021
1 parent d4fdf87 commit 8329745
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/release-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# This Workflow generates a changelog
name: Release - Generate changelog
on:
workflow_dispatch:
inputs:
version:
description: 'The version for which a changelog should be generated. Should be in format 7.y.z'
required: true
default: ''
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Create changelog
# wrapper for https://github.com/github-changelog-generator/github-changelog-generator
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
repo: eclipse/che
project: "Eclipse Che"
dateFormat: "%Y-%m-%d"
output: CHANGELOG-next.md
verbose: false
releaseBranch: master # TODO: change to main
dueTag: ${{ github.event.inputs.version }} # all issues up to the current release tag
filterByMilestone: false # this requires that we get good at setting milestone when something is actually DONE rather than when we think it'll be done
pullRequests: false # only include issues, not PRs, since PRs span multiple repos and are too noisy to include
issuesWoLabels: false # no labels? no logged change
issues: true
issueLineLabels: "ALL"
compareLink: true
unreleased: true # show unreleased, but closed items
addSections: '{"sprint/current-sprint":{"prefix":"**Issues in Current Sprint:**","labels":["sprint/current-sprint"]}, "new&noteworthy":{"prefix":"**New and Noteworthy Issues:**","labels":["new&noteworthy"]}}'
excludeTags: '' # comma,delimited,list,of,tags
# includeLabels: ''
excludeLabels: "kind/release"
enhancementLabel: "Enhancements, Epics, and UX"
enhancementLabels: "kind/enhancement,kind/epic,kind/ux"
bugsLabel: "Bugs fixed"
bugsLabels: "kind/bug"

0 comments on commit 8329745

Please sign in to comment.