Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added proper changelog config #6

Merged
merged 1 commit into from
Jan 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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