poixpixel-discord-bot/.github/workflows/release.yml
2025-06-14 00:22:08 -04:00

36 lines
659 B
YAML

name: Generate Changelog
permissions:
contents: write
on:
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [24.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
- name: Generate Changelog
run: yarn dlx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}