diff --git a/.github/workflows/compile_changelogs.yml b/.github/workflows/compile_changelogs.yml index b0e15788158c..85f88d31a761 100644 --- a/.github/workflows/compile_changelogs.yml +++ b/.github/workflows/compile_changelogs.yml @@ -44,12 +44,12 @@ jobs: - name: Commit if: steps.value_holder.outputs.CL_ENABLED run: | - git config --local user.email "action@github.com" - git config --local user.name "Changelogs" + git config --local user.email "${{ secrets.BOT_EMAIL }}" + git config --local user.name "${{ secrets.BOT_NAME }}" git pull origin master git commit -m "Automatic changelog compile [ci skip]" -a || true - name: "Push" if: steps.value_holder.outputs.CL_ENABLED uses: ad-m/github-push-action@master with: - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ secrets.BOT_TOKEN }}