Last active
September 13, 2019 20:54
-
-
Save mmornati/d68388433228fb4bde0f7bee11bdf068 to your computer and use it in GitHub Desktop.
Auto Release Notes generation with GitHub Actions
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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