-
Notifications
You must be signed in to change notification settings - Fork 20
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
ci(submodule): remove bot user git configurations #1124
Conversation
Signed-off-by: Thuan Vo <thuan.votann@gmail.com>
https://github.com/cryostatio/cryostat/commits/main Not verified, but the new bot name is nice at least. |
Hmm, I wonder if its because of the this action: https://github.com/crazy-max/ghaction-import-gpg#inputs
Seems like we automatically add the author info from there:
|
|
@andrewazores Might not be the issue if github see the same thing. Tho, I have 2 questions:
|
I'm not aware of a way to add the key or an email address to the org itself like that, but when I have some more free time to look into this I'll see if I can find anything. Normally those are things that are added to individual users' profiles, not orgs... |
Ah ur right! How about this? Basically,we need to create a bot account (new GitHub account) with name Cryostat CI and the rhjavamonitoring@gmail.com. Then, add the public gpg key to that account. |
Otherwise, following above pattern, I think you can add the gpg public key to your github account and manually set git configurations in this submodule workflow to point to https://github.com/andrewazores. The commit will show up as you, I believe. |
I was thinking we might need a separate GitHub bot account for this, but I've been trying to avoid having to deal with that. It might just have to be though, if we do want those commits to show up as Verified. If we're going to bother with signature verification I would rather it's a generic bot account rather than showing up as any particular one of our own accounts. |
Yehh sounds good! at least until actions/runner#667 is done, a new bot account is the way then. |
Welcome to Cryostat! 👋
Before contributing, make sure you have:
main
branch[chore, ci, docs, feat, fix, test]
To recreate commits with GPG signature
git fetch upstream && git rebase --force --gpg-sign upstream/main
Related to #1113
Description of the change:
Remove bot user git configurations to allow the signed commits to be verified.
Motivation for the change:
#1113 (comment)