Skip to content

Commit

Permalink
Add a workflow for manually generating release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmsj committed Mar 12, 2023
1 parent 2a95918 commit cd53cd7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/generate_release_notes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Generate Release Notes

on:
workflow_dispatch:

jobs:
build:
name: Generate

runs-on: ubuntu-latest

steps:
- name: Checkout Hammerspoon Code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Generate Release Notes
id: release_notes_generator
uses: mikepenz/release-changelog-builder-action@main
with:
configuration: ".github/workflows/release_notes_config.json"
toTag: "HEAD"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Capture Release Notes
id: capture_release_notes
run: |
echo "${{ steps.release_notes_generator.outputs.changelog }}" >release_notes.txt
- name: Upload Release Notes
id: upload_release_notes
uses: actions/upload-artifact@v2
with:
name: Release_Notes.txt
path: release_notes.txt

0 comments on commit cd53cd7

Please sign in to comment.