-
Hi @BetaHuhn, I have to say that I have been playing with this Action and I'm loving it! I would like to make a PR to include/replace the current behavior of making commits when using a GitHub app token to be able to create signed commits when doing the syncs with this kind of authentication. I have been making some tests with your action locally and I have a version working but it is very disruptive with your current work, so please tell me if you are interested in this kind of feature and I will take some time to adapt better the functionality to your code before making the pull request. Please, take in mind that to be able of doing this we will need to make the commits using the GitHub API, we cannot make use of the local git for pushing the changes. The flow of making the commit basically consists of these steps:
Also, I would ask you a stupid question, how do you see the core.debug locally? I have replaced them with console.log when playing with your action locally, but I'm sure that it must be an easier way to get them locally. This is my proposal, thanks for reading! 😁 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hey @alvarezfr, thanks for the nice words and for taking the time to create this discussion! So your goal is to essentially sign all commits made by this action? If so, please first take a look at the import-gpg, it might solve your problem without any changes to the Regarding the debug logs, if you run the action locally it should output the debug logs already, at least it does for me. How are you running the action locally? |
Beta Was this translation helpful? Give feedback.
Hey @alvarezfr,
thanks for the nice words and for taking the time to create this discussion!
So your goal is to essentially sign all commits made by this action?
If so, please first take a look at the import-gpg, it might solve your problem without any changes to the
repo-file-sync-action
. It allows you to specify a GPG key and the action will setup git to use that key to sign commits automatically. Sincerepo-file-sync-action
uses git under the hood all its commits would be signed as well.Regarding the debug logs, if you run the action locally it should output the debug logs already, at least it does for me. How are you running the action locally?