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 "${{ }}"
          git config --global "${{ }}"
          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 and settings. The actions/checkout documentation recommends the following settings:

git config github-actions
git config

I hope this helps!