How to set commit author?

Open
#419 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
git, github-actions, javascript

Research direction

Start with the GitHub Workflow Release step and the semantic-release command shown in the issue, then check the semantic-release git plugin documentation for supported author and committer configuration. Done means the generated commits display the intended author account and email; no test or source file is named in the issue.

Written by the indexing model from the issue text.

Description

Hey there,

I am having trouble setting the actual commit author account.

My GitHub Workflow Step is set up like this:

- name: Release
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
    NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
    GIT_AUTOR_NAME: "BlazingWorks CI"
    GIT_AUTOR_EMAIL: "hey@blazing.works"
    GIT_COMMITTER_NAME: "BlazingWorks CI"
    GIT_COMMITTER_EMAIL: "hey@blazing.works"
  run: pnpm semantic-release

The commits created through this look like this:

image

Dominant language
JavaScript
Stars
339
Forks
75
Avg merge
5h 15m
Merged PRs (30d)
6

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from semantic-release/git

All issues in semantic-release/git

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.