Skip to content

Commit

Permalink
Issue #4859: Use GitHub actions to generate release notes automatically.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Anderson authored Jan 6, 2021
1 parent fca308f commit a817a5e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
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

0 comments on commit a817a5e

Please sign in to comment.