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

Issue #4859: Use GitHub actions to generate release notes automatically. #4860

Merged
merged 7 commits into from Jan 6, 2021
Merged
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions .github/release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Changelog Generator configuration.
# @see https://github.com/spring-io/github-changelog-generator#customizing-sections

changelog:
sections:
- title: New features
labels: [type - feature request]
- title: Bug fixes
labels: [type - bug report]
- title: Documentation updates
labels: [type - documentation]
- title: Miscellaneous changes
labels: [type - task]
30 changes: 30 additions & 0 deletions .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Generate release notes (in the wiki) when a milestone is closed.
# @see https://github.com/marketplace/actions/release-notes-generator
# @see https://github.com/marketplace/actions/wiki-page-creator-action

name: Release Notes Generator

on:
milestone:
types: [closed]

jobs:
release-notes:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Release notes generator
uses: docker://decathlon/release-notes-generator-action:3.0.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OUTPUT_FOLDER: temp_release_notes
USE_MILESTONE_TITLE: true
- name: Wiki page creator
uses: docker://decathlon/wiki-page-creator-action:2.0.3
env:
ACTION_MAIL: [email protected]
ACTION_NAME: dragonbot
GH_PAT: ${{ secrets.DRAGONBOT_GH_PAT }}
MD_FOLDER: temp_release_notes
OWNER: backdrop
REPO_NAME: backdrop-issues