[feat,doc]: add update changelog.yml CI and more doc updates #1
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: Update changelog.rst | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- '**' | |
paths: | |
- changelog.yml | |
pull_request: null | |
jobs: | |
changelog: | |
name: Update changelog.rst | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
with: | |
python-version: '3.12' | |
architecture: x64 | |
- name: Install dependencies | |
run: python3 -m pip install pyyaml | |
- name: Run update script | |
working-directory: docs | |
run: python3 changelog.py | |
- name: Commit changes | |
uses: EndBug/add-and-commit@v9 | |
with: | |
message: 'chore: update changelog.rst' | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |