From 1360243294b573f9c054de5b04c179217bfe6c21 Mon Sep 17 00:00:00 2001 From: Ahmad <103906421+ahmadk953@users.noreply.github.com> Date: Fri, 13 Jun 2025 23:44:49 -0400 Subject: [PATCH] ci: added automatic changelog generation --- .github/workflows/release.yml | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..42de62c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,35 @@ +name: Automatic Release Changelog + +permissions: + contents: write + +on: + push: + tags: + - 'v*' + +jobs: + release: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [23.x] + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Configure Corepack + run: corepack enable + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: yarn + + - run: npx changelogithub + env: + GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file