Snapshot v0.2.64 #23
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |