Skip to content

Instantly share code, notes, and snippets.

@mmornati
Last active September 13, 2019 20:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mmornati/d68388433228fb4bde0f7bee11bdf068 to your computer and use it in GitHub Desktop.
Save mmornati/d68388433228fb4bde0f7bee11bdf068 to your computer and use it in GitHub Desktop.
Auto Release Notes generation with GitHub Actions
on: milestone
name: Milestone Closure
jobs:
release-notes:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@master
- name: action-filter
uses: actions/bin/filter@master
with:
# We filter on closing (milestone) action
args: action closed
- name: Create Release Notes
uses: docker://decathlon/release-notes-generator-action:2.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OUTPUT_FOLDER: temp_release_notes
USE_MILESTONE_TITLE: "true"
- name: Upload Release Notes to Wiki
uses: docker://decathlon/wiki-page-creator-action:2.0.0
env:
GH_PAT: ${{ secrets.GH_PAT }}
ACTION_MAIL: youremail@mail.com
ACTION_NAME: yourusername
OWNER: yourGitHubOrganisation
REPO_NAME: yourGitHubRepository
SKIP_MD: "README.md"
MD_FOLDER: "temp_release_notes"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment