Skip to content

Commit

Permalink
Chore: set action for automatic conventional changelog generation (#1513
Browse files Browse the repository at this point in the history
)
  • Loading branch information
georgesittas authored May 1, 2023
1 parent 6143491 commit 9421650
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,17 @@ jobs:
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
- name: Update documentation
run: |
make docs
git add docs
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "CI: Auto-generated documentation" -a | exit 0
- name: Push changes
uses: ad-m/github-push-action@master
- name: Update API docs
run: make docs
- name: Update CHANGELOG
id: changelog
uses: requarks/changelog-action@v1
with:
token: ${{ github.token }}
tag: ${{ github.ref_name }}
- name: Commit API docs, CHANGELOG.md
uses: stefanzweifel/git-auto-commit-action@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: main
commit_message: 'docs: update API docs, CHANGELOG.md for ${{ github.ref_name }} [skip ci]'
file_pattern: 'docs CHANGELOG.md'

0 comments on commit 9421650

Please sign in to comment.