-
Notifications
You must be signed in to change notification settings - Fork 228
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
Unable to signoff commits since v4 #904
Comments
According to the linked issue and PR, the bug is fixed in recent release-please version. However, the commit in the release-pr is still not signed of in my repo. Action YAML
release-please-config.json:
|
@geemanjs do you still encounter the problem, too? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TL;DR
As per the title - It appears as if though the interface between release-please-action and release-please itself results in the
signoff
property being ignored.Expected behavior
When migrating from v3 -> v4
Add the
signoff
key to myrelease-please-config.json
fileRelease please continues to signoff commits
Observed behavior
No commit signing appears to be happening
Action YAML
Happy to share this but it's mostly irrelevant. Heres the original release-please config after renovate updated us to v4 (we got some warning logs in the
release-please
task about unrecognised properties):Heres the two keys I added to the
release-please-config.json
as per the migration recommendationsAnd heres the release-please yaml post actioning the migration recommendations
Log output
No response
Additional information
Having done some digging..
The
Manifest
constructor expects thesignoff
property to be inmanifestOptions
(the 5th argument to the constructor)https://github.com/googleapis/release-please/blob/main/src/manifest.ts#L356
When
fromManifest
is called it sets the 5th argument of the Manifest constructor to the following:manifestOptionOverrides
is only passed in by release-please-action in certain circumstancesmanifestOptions
comes from theparseConfig
function in release-pleaseThe
parseConfig
function does not extract thesignoff
property into theoptions
:https://github.com/googleapis/release-please/blob/main/src/manifest.ts#L1392-L1406
This might need to be an improvement in the
release-please
project but thought i'd raise it here as it has meant our upgrade to v4 has been unsuccessful.The text was updated successfully, but these errors were encountered: