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 }}