summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-03 09:12:28 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-05-03 09:12:28 +0000
commit67c28dbe67209effad83d93b850caba5ee1e20e3 (patch)
treedffdfbfb4f0899c92a4c978e6eac55af2ff76367 /.github/workflows
parentReleasing debian version 11.5.2-1. (diff)
downloadsqlglot-67c28dbe67209effad83d93b850caba5ee1e20e3.tar.xz
sqlglot-67c28dbe67209effad83d93b850caba5ee1e20e3.zip
Merging upstream version 11.7.1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/python-publish.yml23
1 files changed, 13 insertions, 10 deletions
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index 8f7c01c..de63033 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -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'