semantic-release / semantic-release/git

How to set commit author?

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

Nobody has claimed this yet.

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

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

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.