Skip to content

v3.5.0

v3.5.0 #34

Workflow file for this run

ο»Ώname: changelog
on:
workflow_dispatch:
release:
types: [released]
jobs:
changelog:
runs-on: ubuntu-latest
steps:
- name: πŸ€– defaults
uses: devlooped/actions-bot@v1
with:
name: ${{ secrets.BOT_NAME }}
email: ${{ secrets.BOT_EMAIL }}
gh_token: ${{ secrets.GH_TOKEN }}
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: 🀘 checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: main
token: ${{ env.GH_TOKEN }}
- name: βš™ ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.3
- name: βš™ changelog
run: |
gem install github_changelog_generator
github_changelog_generator --user ${GITHUB_REPOSITORY%/*} --project ${GITHUB_REPOSITORY##*/} --token $GH_TOKEN --o changelog.md --config-file .github/workflows/changelog.config
- name: πŸš€ changelog
run: |
git add changelog.md
(git commit -m "πŸ–‰ Update changelog with ${GITHUB_REF#refs/*/}" && git push) || echo "Done"