Skip to content

Squash and Merge Pull Request Signing Commit with Local GPG Key #1318

@paulohenriqu

Description

@paulohenriqu

Describe the feature or problem you’d like to solve

Currently, when someone merges a Pull Request using the Github UI and the "Squash and Merge" option, the commit is signed with the Github GPG key and the PR status changed to merged automatically.

Would it be possible to sign the squash commit using the user GPG key?

Proposed solution

It seems to me that Github uses its own GPG key because it wouldn't be a viable solution for the users to upload their private keys to Github, but as Github CLI runs locally it would be possible to use the collaborator key to sign the squashed commit, increasing the overall confidence that the code wasn't tampered with.

Additional context

Add any other context like screenshots or mockups are helpful, if applicable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementa request to improve CLImore-info-neededMore info needed from user/contributor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions