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

Use GPG key name/email as default values #13

Merged
merged 4 commits into from
May 12, 2020
Merged

Use GPG key name/email as default values #13

merged 4 commits into from
May 12, 2020

Conversation

alejandrohdezma
Copy link
Contributor

First of all, thank you very much for this action! It's really awesome! ❤️

What has been done in this PR?

❗ This PR includes breaking changes that will provoke unexpected failures or behaviour on current users, and therefore I would suggest to release them (in case they're approved) as a new v2 version.

Breaking changes

  • Fallback name to GPG key associated name.
  • Fallback email to GPG key associated email.

New features

  • Expose GPG key associated name as output.

Why this change?

Using the GPG key name & email as defualt values would simplify a lot doing key-rotation when using this action. Only the secret will need to be updated then, since commiter's name & email will be taken from the GPG key data.

@codecov
Copy link

codecov bot commented May 12, 2020

Codecov Report

Merging #13 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #13   +/-   ##
=======================================
  Coverage   80.70%   80.70%           
=======================================
  Files           3        3           
  Lines         114      114           
  Branches       26       26           
=======================================
  Hits           92       92           
  Misses         12       12           
  Partials       10       10           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update f6f458f...8d0d15c. Read the comment docs.

Copy link
Owner

@crazy-max crazy-max left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alejandrohdezma Overall that's LGTM, thanks! I will create a v2 of this action and also review the integration of the test key and its passphrase (will play with outputs instead).

@crazy-max crazy-max merged commit ccc720b into crazy-max:master May 12, 2020
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.

2 participants