Skip to content

8.109.0

8.109.0 #384

name: Update Changelog
on:
push:
branches: [master]
paths-ignore:
- 'docs/CHANGELOG.md' # Prevent infinite loops
permissions:
contents: write
jobs:
update-changelog:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v6
with:
token: ${{ secrets.I18N_PAT }}
- uses: ./.github/actions/setup-pnpm
with:
install: 'false' # Don't need dependencies for this script
- name: Update changelog from commits
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
COMMIT_SHAS: ${{ join(github.event.commits.*.id, ' ') }}
run: |
# Process all commits and automatically detect associated PRs using GitHub API
node build/update-changelog.js $COMMIT_SHAS > docs/CHANGELOG.md.new
mv docs/CHANGELOG.md.new docs/CHANGELOG.md
- name: Commit files
uses: stefanzweifel/git-auto-commit-action@v7
with:
commit_message: Apply changelog updates