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

Gain access to Codecov for the RecordLinker repo #142

Open
1 of 5 tasks
derekadombek opened this issue Oct 1, 2024 · 8 comments
Open
1 of 5 tasks

Gain access to Codecov for the RecordLinker repo #142

derekadombek opened this issue Oct 1, 2024 · 8 comments
Assignees

Comments

@derekadombek
Copy link

derekadombek commented Oct 1, 2024

What type of help do you need?

  • Question
  • New Repo
  • Delete Repo
  • User Membership (please make sure new members are familiar with the CDC open practices and set up their profile with name and org info to help people collaborate with them)
  • Other

Please describe how you'd like us to help.
Hello there! I was told to request for a Codecov access token here. Our repo is https://github.com/CDCgov/RecordLinker. We would like to add this to our unit testing github action. Please let me know what needs to be done for this. Thank you!

@boris-ning-usds
Copy link

I approved the Github App earlier, but wasn't sure what Codecov access token includes.
Are there any instructions on how to get that, or do you have everything you need?

@derekadombek
Copy link
Author

derekadombek commented Oct 1, 2024

Thank you for the approval! I submitted that shortly after creating this issue thinking that might work and it seemed to work for my personal account but I believe Codecov in the CDC org needs to be configured by the account owner? I'm def new to configuring this but when I try from within the RecordLinker repo settings I get this:
Screenshot 2024-10-01 at 1 31 52 PM

Also I was reading this doc earlier and shows theres an access token needed to use with github actions https://docs.codecov.com/docs/quick-start

@boris-ning-usds
Copy link

boris-ning-usds commented Oct 2, 2024

Have you tried logging into codecov via https://app.codecov.io/login, via your Github sign on, and see if you can generate a token?

Because I don't think I've generate any tokens for anybody for this app other than authorize the codecov application, and approved the particular repository access, and I suspect others are able to generate their own token for selectively repositories just fine.

If it's a little more involved, can you setup 15-20 mins with me (tpz7@cdc.gov) and we can just screenshare and get it completed?

@derekadombek
Copy link
Author

That definitely seems correct that I should be able to generate a token on my end from the Codecov UI the more I look into this. I think the issue is, Currently I can only configure my personal repos but not the RecordLinker repo because I'm an admin and not the repo owner. I agree on meeting up! That might help clarify some things. I will send you an invite thanks again!

@boris-ning-usds
Copy link

Ah, got it. You're an outside collaborator to https://github.com/cdcgov/RecordLinker.
I just sent you an invitation to be a full member on cdcgov. That might fix the problem.

@derekadombek
Copy link
Author

That seemed like a good try! unfortunately when I go into the repo settings to configure the app i still get the banner that I need to be a organization owner :(
Screenshot 2024-10-04 at 8 35 31 AM
Screenshot 2024-10-04 at 8 34 24 AM

@boris-ning-usds
Copy link

I think we're meeting some time this upcoming week on this - so let's solve this then.

@boris-ning-usds
Copy link

We updated the member list to include Derek on codecov (but no luck on access, may need a followup). I gave Derek a codecov secret to add to RecordLinker to connect them as a remediation step.

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

No branches or pull requests

2 participants