clj-commons

lread 2024-05-01T01:40:49.522299Z

Blech. I use http://codecov.io on rewrite-clj and I think (maybe?) http://codecov.io might require me to use a token now... I don't have administrator access to the clj-commons GitHub org, so I can't generate my own token. I did request rewrite-clj access via codecov, so clj-commons GitHub org admins might see a request from me? And that might let me generate a token?

seancorfield 2024-05-01T04:40:10.580669Z

I approved it for the whole org...

seancorfield 2024-05-01T04:41:49.053309Z

...oh, maybe someone else did earlier? I see coverage stats for rewrite-clj...

seancorfield 2024-05-01T04:43:31.457689Z

LMK if you need anything else at this point...

lread 2024-05-01T10:52:43.935069Z

Thanks Sean, I’ll try to figure out what steps I need to ask you to take

lread 2024-05-01T15:39:19.672429Z

Ok, @seancorfield, thanks for your patience, I think I know what I need now. I need the "repository upload token" described in the first screenshot on this page: https://docs.codecov.com/docs/adding-the-codecov-token. To get to that page, you would click on rewrite-clj from your screenshot above and then "settings". (I don't have enough privs to see "settings" at all). I have setup a CODECOV_TOKEN secret for the rewrite-clj Github repo (https://github.com/clj-commons/rewrite-clj/settings/secrets/actions), could you edit then paste in the token from above for me? Another option is to give me admin privs to clj-commons github org, and I can do the above myself.

seancorfield 2024-05-01T16:11:50.483209Z

That's done. LMK if it works. I used a global token so we can have one token for the whole clj-commons org.

lread 2024-05-01T16:21:14.052829Z

Thanks @seancorfield it seems to have worked like a charm! As an admin, it's up to you, but I'd recommend generating tokens at the github repo rather than the github org level. This way, you can revoke/regen tokens at the repo level should there be any security issues.

seancorfield 2024-05-01T16:44:23.797339Z

Yeah, if we start to see more maintainers wanting to link in http://codecov.io, that would be a better approach. You're the first.

👍 1