Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(gha): fix missing git_commit_author definition in action #919

Conversation

codejedi365
Copy link
Contributor

Purpose

Fix an issue introduced in 9.7.0 where git_commiter_email & git_commiter_name were not passed on through to PSR when using the GitHub Action

Resolve: #918

Rationale

The GIT_COMMIT_AUTHOR variable was not exported or created in the environment which caused PSR to use the configuration file and/or default semantic-release values. It was accidentally removed during the refactor as it was not obvious of its use.

How I tested

Using my test project, psr-test-gha, I was able to successfully release with the configuration defaults when no default is given and then commit with custom provided values.

@codejedi365 codejedi365 changed the title fix(gha): fix missing git_committer_* definition in action fix(gha): fix missing git_commit_author definition in action May 7, 2024
@codejedi365 codejedi365 merged commit ccef9d8 into python-semantic-release:master May 7, 2024
7 checks passed
@codejedi365 codejedi365 deleted the fix/ci-action-committer branch May 7, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GHA of PSR 9.7.0 does not respect git_committer_name and git_committer_email anymore
1 participant