Skip to content

Why is the committer showing up as actions-user? #3940

@miparnisari

Description

@miparnisari

I have a workflow like this:

      - name: "Make commit"
        run: |
          ...
          git config user.name "GitHub Actions"
          git config user.email "actions@github.com"
          git commit -m "Update generated docs"
          ...
      - 
        uses: "peter-evans/create-pull-request@v7"
        with:
          token: "${{ secrets.PAT_TO_PUSH_TO_DOCS }}"
          path: "docs-repo"
          title: "Auto-generated PR: Update docs"
          body: "This PR was auto-generated by GitHub Actions."
          branch: "auto-update-branch"

and I see that the PR gets created correctly, but under the username actions-user: https://github.com/actions-user

This is neither the user that made the commit, nor the default user specified in

default: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions