Skip to content
user

GitHub Action

Set bot Github user action

v1.2.0 Latest version

Set bot Github user action

user

Set bot Github user action

Action to set git commiter to a Github bot user

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Set bot Github user action

uses: gotmax23/set-bot-git-user-action@v1.2.0

Learn more about this action in gotmax23/set-bot-git-user-action

Choose a version

set-bot-git-user-action

Set the Git config user.name and user.email based on a Github bot user so that the commit authorship shows up properly on the web interface. Defaults to setting the bot user to github-actions.

- name: Set Git user globally to github-actions
  uses: gotmax23/set-bot-git-user-action@main
  with:
    global: true
    bot: github-actions
    name: "Github Actions"