diff --git a/.github/workflows/update_changelog.yml b/.github/workflows/update_changelog.yml index fdc02d5..6b2e972 100644 --- a/.github/workflows/update_changelog.yml +++ b/.github/workflows/update_changelog.yml @@ -52,9 +52,14 @@ jobs: app_id: ${{ secrets.LE_BOT_APP_ID }} private_key: ${{ secrets.LE_BOT_PRIVATE_KEY }} - name: Commit updated CHANGELOG.md - env: - GH_APP_TOKEN: ${{ steps.generate-token.outputs.token }} run: | + git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" + git config --local user.name "github-actions[bot]" git add CHANGELOG.md git commit -m "Update CHANGELOG.md for PR #${{ github.event.pull_request.number }}" git push origin ${{ github.event.pull_request.head.ref }} + - name: Push changes + uses: ad-m/github-push-action@v0.8.0 + with: + github_token: ${{ steps.generate-token.outputs.token }} + branch: ${{ github.event.pull_request.base.ref }}