From 24a5b1e1a94b227eb0907aedc234dc7de1d357bc Mon Sep 17 00:00:00 2001 From: Tai Sakuma Date: Thu, 19 Oct 2023 11:14:43 -0400 Subject: [PATCH] generate a release note on release --- .github/release.yml | 5 +++++ .github/workflows/release.yml | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 3 deletions(-) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..65a9bfa --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,5 @@ +changelog: + categories: + - title: Changes 🚀 + labels: + - "*" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5e5036d..0425be8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,11 +8,21 @@ on: jobs: deploy: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout - uses: actions/checkout@v2 - - name: Release - uses: softprops/action-gh-release@v1 + uses: actions/checkout@v3 + - name: Install gh CLI + uses: actions/setup-node@v3 + with: + node-version: "18" + - name: Create Release + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh release create ${GITHUB_REF#refs/tags/} \ + --generate-notes - name: Tag latest uses: EndBug/latest-tag@v1