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

configure ssh key for tagbot #72

Closed
johnnychen94 opened this issue Sep 18, 2020 · 11 comments
Closed

configure ssh key for tagbot #72

johnnychen94 opened this issue Sep 18, 2020 · 11 comments

Comments

@johnnychen94
Copy link
Collaborator

johnnychen94 commented Sep 18, 2020

Here's the motivation:

One GitHub action could not trigger another GitHub action if only configured with token: ${{ secrets.GITHUB_TOKEN }}. This limitation means release/tag created by tagbot could trigger the docs CI.

@Evizero could you help set up an ssh key and corresponding github secrets for this? It should be ssh key with write permission in https://github.com/Evizero/Augmentor.jl/settings/keys (public, write permission) and secrets in https://github.com/Evizero/Augmentor.jl/settings/secrets/new (private)

The quick command to generate ssh key:

ssh-keygen -t rsa -b 4096 -C "stocker.christof@gmail.com" -f tagbot

then copy tagbot.pub as keys and tagbot as secrets (let's say with name "TagBot").

References:

@Evizero
Copy link
Owner

Evizero commented Nov 18, 2020

Ops. I missed or forgot this. Is this still relevant?

@johnnychen94
Copy link
Collaborator Author

Yes, I can update the CI configuration when this is added.

@Evizero
Copy link
Owner

Evizero commented Nov 18, 2020

Done. Let me know if i screwed it up :-)

@johnnychen94
Copy link
Collaborator Author

hard to tell unless there's a new release; I'll reopen if it doesn't work

@Evizero
Copy link
Owner

Evizero commented Apr 26, 2021

I just checked and I did this already. though the name is TagBot and not TAG_BOT like you mentioned in the mail. Will this work, or would you like me to change the name?

@Evizero
Copy link
Owner

Evizero commented Apr 26, 2021

actually the secret is TAGBOT

@Evizero
Copy link
Owner

Evizero commented Apr 26, 2021

actually hold that though, I think I might have screwed up the last part. I'll redo it now

@johnnychen94
Copy link
Collaborator Author

The one I configured in the CI is TAGBOT

ssh: ${{ secrets.TAGBOT }}

@Evizero
Copy link
Owner

Evizero commented Apr 26, 2021

try now. let me know if it doesnt work

@johnnychen94
Copy link
Collaborator Author

Oh, wait. I might not describe the need clearly in my previous mail. I was asking for adding a TAGBOT ssh key in UnicodePlots, too.

@Evizero
Copy link
Owner

Evizero commented Apr 26, 2021

done as well!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants