Skip to content

Commit

Permalink
added proper changelog config
Browse files Browse the repository at this point in the history
  • Loading branch information
helios-ag committed Jan 22, 2022
1 parent 6f90e9d commit c1e6459
Showing 1 changed file with 26 additions and 9 deletions.
35 changes: 26 additions & 9 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,30 @@
name: Changelog
on:
release:
types:
- created

on: push

jobs:
changelog:
runs-on: ubuntu-20.04
generate_changelog:
runs-on: ubuntu-latest
steps:
- name: "✏️ Generate release changelog"
uses: heinrichreimer/github-changelog-generator-action@v2.3
- name: Generate change log
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.GITHUB_TOKEN }}
headerLabel: "# Changelog"
breakingLabel: '### Breaking'
enhancementLabel: '### Enhancements'
stripGeneratorNotice: true
bugsLabel: '### Fixes'
issues: true
issuesWoLabels: true
pullRequests: true
prWoLabels: true
author: false
verbose: true
- name: "🖨️ Print changelog to console"
run: cat CHANGELOG.md
- name: "📤 Upload changelog"
uses: actions/upload-artifact@v1.0.0
with:
name: "Changelog"
path: CHANGELOG.md

0 comments on commit c1e6459

Please sign in to comment.