Evizero / Augmentor.jl

A fast image augmentation library in Julia for machine learning.
https://evizero.github.io/Augmentor.jl/
Other
137 stars 48 forks source link

configure ssh key for tagbot #72

Closed johnnychen94 closed 3 years ago

johnnychen94 commented 3 years ago

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 commented 3 years ago

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

johnnychen94 commented 3 years ago

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

Evizero commented 3 years ago

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

johnnychen94 commented 3 years ago

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

Evizero commented 3 years ago

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 commented 3 years ago

actually the secret is TAGBOT

Evizero commented 3 years ago

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

johnnychen94 commented 3 years ago

The one I configured in the CI is TAGBOT

https://github.com/Evizero/Augmentor.jl/blob/121b70d34881ac1ae3da08ba0e65a644a5d7319e/.github/workflows/TagBot.yml#L12

Evizero commented 3 years ago

try now. let me know if it doesnt work

johnnychen94 commented 3 years ago

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 commented 3 years ago

done as well!