ci: automatically generate release note (#2)

This commit is contained in:
ThunderMiracle 2023-02-20 22:32:18 +09:00 committed by GitHub
parent 1e15f11dfc
commit 24bd13bc7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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}}