Milestone Closure #16
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: | |
types: [closed] | |
name: Milestone Closure | |
jobs: | |
release-notes: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- name: To avoid fatal could not read Username | |
run: | | |
git config --global user.email "[email protected]" | |
git config --global user.name "gdha" | |
git config --global url.https://${{ secrets.GH_PAT }}@github.com/.insteadOf https://github.com/ | |
env: | |
GH_PAT: ${{ secrets.GH_PAT }} | |
- name: Create Release Notes | |
uses: docker://decathlon/release-notes-generator-action:3.1.5 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
OUTPUT_FOLDER: temp_release_notes | |
USE_MILESTONE_TITLE: "true" | |
FILENAME_PREFIX: Release-Notes- | |
- name: Upload Release Notes to Wiki | |
uses: docker://decathlon/wiki-page-creator-action:latest | |
env: | |
ACTION_MAIL: [email protected] | |
ACTION_NAME: gdha | |
GH_PAT: ${{ secrets.GH_PAT }} | |
MD_FOLDER: temp_release_notes | |
OWNER: gdha | |
REPO_NAME: upgrade-ux | |
SKIP_MD: README.md |