Skip to content

v7.33.2 unable to detect commit author - regression? #566

Closed
@madpah

Description

@madpah

The problem

After working around #560 by upgrading to v7.33.2, I have a number of projects that are now failing to publish back to GitHub (breaking semantic-release publish).

Example project: https://github.com/madpah/serializable

What I've tried

  1. Reverted from the GitHub Action to plain python-semantic-version installation (https://github.com/madpah/serializable/actions/runs/4321618771)
Current version: 0.10.1, Current release version: 0.10.1
Bumping with a minor version to 0.11.0
error: Cmd('git') failed due to: exit code(128)
error:   cmdline: git commit -m 0.11.0
error: 
error: Automatically generated by python-semantic-release --author=semantic-release <semantic-release>
error:   stderr: 'Committer identity unknown
error: 
error: *** Please tell me who you are.
error: 
error: Run
error: 
error:   git config --global user.email "you@example.com"
error:   git config --global user.name "Your Name"
error: 
error: to set your account's default identity.
error: Omit --global to set the identity only in this repository.
error: 
error: fatal: empty ident name (for <runner@fv-az988-527.apkcyl[23](https://github.com/madpah/serializable/actions/runs/4321870889/jobs/7543605922#step:8:24)byketeyxppypgmqpve.phxx.internal.cloudapp.net>) not allowed'
  1. Explicitly set commit_author (https://github.com/madpah/serializable/actions/runs/4322001835)
error: Cmd('git') failed due to: exit code(128)
error:   cmdline: git commit -m 0.11.0
error: 
error: Automatically generated by python-semantic-release --author=github-actions <github-actions@github.com>
error:   stderr: 'Committer identity unknown
error: 
error: *** Please tell me who you are.
error: 
error: Run
error: 
error:   git config --global user.email "you@example.com"
error:   git config --global user.name "Your Name"
error: 
error: to set your account's default identity.
error: Omit --global to set the identity only in this repository.
error: 
error: fatal: empty ident name (for <runner@fv-az566-152.iltkdbwcmizurjtzn42pmpc1mg.bx.internal.cloudapp.net>) not allowed'

I've never had to set or define commit_author previously.

Any advice / help appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working properlystale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions