changelog.yml 447 B

12345678910111213141516171819202122
  1. name: Generate Changelog
  2. on:
  3. release:
  4. types: [published, created]
  5. workflow_dispatch: {}
  6. jobs:
  7. changelog:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - name: Git checkout
  11. uses: actions/checkout@v4
  12. - name: Use Node.js
  13. uses: actions/setup-node@v4
  14. with:
  15. node-version: 20
  16. - run: npm ci
  17. - run: node ./scripts/changelog.mjs
  18. env:
  19. GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}