ci: automatically generate release note

This commit is contained in:
thundermiracle 2023-02-20 22:19:37 +09:00
parent e9ef242655
commit 964073cd7e
2 changed files with 25 additions and 27 deletions

25
.github/workflows/release.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Release
permissions:
contents: write
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: 16.x
- run: npx changelogithub@0.12.7
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}