Bot user and email to push

I have a workflow that makes changes to the repository, but it is committing through the user who triggered the action. How do I get the bot to commit this in the repository?

      - name: Commit and push changes
        run: |
          git config --global user.name "${{ github.actor }}"
          git config --global user.email "${{ github.actor }}@users.noreply.github.com"
          git add -A
          git commit -m "action issue_coment"
          git push

Do you mean this user will be shown as the commit author? In that case you need to adjust the user.name and user.email settings. The actions/checkout documentation recommends the following settings:

git config user.name github-actions
git config user.email github-actions@github.com

I hope this helps!