Skip to content

Set Git User

Actions
Set git user as github-actions[bot]
v1.0.0
Latest
Star (3)

This action sets git user as github-actions[bot].

git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"

This allows committing changes inside a workflow run.

Usage

steps:
  - uses: actions/checkout@v2
  - uses: git-actions/set-user@v1
  - run: |
      # Make changes
      git commit -am 'Add changes'
      git push

License

MIT

Set Git User is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Set git user as github-actions[bot]
v1.0.0
Latest

Set Git User is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.