ghcommit-action icon indicating copy to clipboard operation
ghcommit-action copied to clipboard

Support --amend

Open FRidh opened this issue 2 years ago • 2 comments

There are quite some actions out there that create commits. Unfortunately, they are not signed. Adding support for --amend should, if I am correct, make it possible to sign commits created by other actions.

Note I do not know whether ghcommit supports that.

FRidh avatar Oct 26 '23 06:10 FRidh

I also really need the ability to amend a commit (other/custom parameters for the git commit would also be nice)

npanuhin avatar Nov 30 '23 00:11 npanuhin

This will depend on whether or not the createCommitOnBranch graphql api supports amending existing commits. From a glance at the docs I do not think that's the case. https://docs.github.com/en/graphql/reference/mutations#createcommitonbranch

I also searched that page for "amend" and came up with nothing :|

If anyone finds a method for amending I'd be happy to take a look at implementing it in https://github.com/planetscale/ghcommit

This may require a feature request to github's graphql api

joemiller avatar Dec 02 '23 18:12 joemiller