Skip to content

Snapshot v0.2.63

Snapshot v0.2.63 #22

name: 'Autoupdate Changelog.md'
on:
workflow_dispatch:
push:
tags:
- v*
permissions:
contents: write
jobs:
update-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- run: python3 -m pip install natsort
- name: Generate a new Changelog
run: |
git checkout master
python3 .github/tools/gitchanges.py > Changelog.md
- name: Commit the new Changelog
run: |
git config --global user.name 'Github Actions'
git config --global user.email '[email protected]'
git add --force Changelog.md
git commit -m "Updated the Changelog"
git push