Skip to content

perf: add AVX2-accelerated TCoG centroiding with runtime dispatch (#49) #2

perf: add AVX2-accelerated TCoG centroiding with runtime dispatch (#49)

perf: add AVX2-accelerated TCoG centroiding with runtime dispatch (#49) #2

name: Auto-update CHANGELOG
on:
pull_request:
types: [closed]
branches: [main]
permissions:
contents: write
jobs:
update-changelog:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Update CHANGELOG
run: python .github/scripts/update_changelog.py
env:
PR_NUM: ${{ github.event.pull_request.number }}
PR_TITLE: ${{ github.event.pull_request.title }}
PR_URL: ${{ github.event.pull_request.html_url }}
- name: Commit and push
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add CHANGELOG.md
git diff --staged --quiet || \
git commit -m "docs: auto-update CHANGELOG for PR #${{ github.event.pull_request.number }}"
git push