ci: added automatic changelog generation

This commit is contained in:
Ahmad 2025-06-13 23:44:49 -04:00
parent f75fbf32d5
commit 1360243294
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF

35
.github/workflows/release.yml vendored Normal file
View file

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