From 1f8ac4953ef5ae4c297571542acc27ce6bd58b29 Mon Sep 17 00:00:00 2001 From: Wu Clan Date: Mon, 24 Feb 2025 21:17:56 +0800 Subject: [PATCH] Add changelog ci for github release --- .github/workflows/changelog.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 00000000..82172935 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,21 @@ +name: Release changelog + +on: + push: + tags: + - v* + +jobs: + changelog: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + ref: master + + - uses: rhysd/changelog-from-release/action@v3 + with: + file: CHANGELOG.md + pull_request: true + github_token: ${{ secrets.GH_TOKEN }}