Skip to content

Commit

Permalink
Add scripts to sync CHANGELOG from GitHub releases
Browse files Browse the repository at this point in the history
  • Loading branch information
luin committed May 13, 2024
1 parent 30be4ae commit d75deb5
Show file tree
Hide file tree
Showing 5 changed files with 339 additions and 69 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Generate Changelog

on:
release:
types: [published]

jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20

- run: npm ci
- run: node ./scripts/changelog.mjs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Loading

0 comments on commit d75deb5

Please sign in to comment.