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

Failed commit signature using Github Application #2627

Open
CCOLLOT opened this issue Oct 2, 2024 · 0 comments
Open

Failed commit signature using Github Application #2627

CCOLLOT opened this issue Oct 2, 2024 · 0 comments

Comments

@CCOLLOT
Copy link

CCOLLOT commented Oct 2, 2024

Problem statement:

When using a Github Application to write changes to git, commits are not signed.

Error message:

remote: error: GH006: Protected branch update failed for refs/heads/main. remote: remote: - Commits must have verified signature

According to the documentation:

Signature verification for bots will only work if the request is verified and authenticated as the GitHub App or bot and contains no custom author information, custom committer information, and no custom signature information, such as Commits API.

I tried setting .Values.controller.gitClient.name and .Values.controller.gitClient.email to "" but it did not solve the issue.

After looking at the code, it seems that if those values are empty then Kargo will use default values.
I wonder if removing those default values would solve the issue

@CCOLLOT CCOLLOT changed the title Failed commit signature using Github Application Failed commit signature using Github Application or PAT Oct 2, 2024
@krancour krancour added this to the Post-GA milestone Oct 2, 2024
@CCOLLOT CCOLLOT changed the title Failed commit signature using Github Application or PAT Failed commit signature using Github Application Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants