Skip to content

Commit

Permalink
GHA: Draft release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
limbonaut committed Sep 8, 2024
1 parent 76197f1 commit f96a8e5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/draft-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Draft Release
on:
push:
tags:
- "v*"

jobs:
draft-release:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Generate changelog
id: changelog
uses: metcalfc/changelog-generator@v4.3.1
with:
myToken: ${{ secrets.GITHUB_TOKEN }}

- name: Draft Release
uses: ncipollo/release-action@v1
with:
tag: ${{ github.ref }}
name: ${{ github.ref }}
body: ${{ steps.changelog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}
draft: true

0 comments on commit f96a8e5

Please sign in to comment.