-
Notifications
You must be signed in to change notification settings - Fork 22
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
feat: Create/Pass commit date to commit for signing #485
base: main
Are you sure you want to change the base?
feat: Create/Pass commit date to commit for signing #485
Conversation
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
@googleapis/github-automation can someone review my PR, this would unblock issues in release-please to sign commits. |
There is some open/related discussion in this issue: also /cc @chingor13 @SurferJeffAtGoogle |
@chingor13 @SurferJeffAtGoogle @bshaffer hey it would be cool to get some feedback whether this is something we can add to the package. As it is currently the commit signing capability is broken and does not work ... |
@sofisl @danieljbruce do you see any possibility to get this merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, we're finally getting back to PRs on this repo.
The tests are not passing and this branch is not writeable so we can't help update it
@@ -206,6 +206,7 @@ export interface Logger { | |||
export interface UserData { | |||
name: string; | |||
email: string; | |||
date?: Date; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think I follow why date is part of the UserData as opposed to the commit
export interface CommitSigner { | ||
generateSignature(commit: CommitData): Promise<string>; | ||
generateSignature(commit: CommitDataWithRequiredDate): Promise<string>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a breaking change which makes additional inputs required. Does this actually need to be a required field?
Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:
Fixes #337 🦕