# Can't reactivate repo that was automatically deactivated when I made it public

**URL:** <https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133>\
**Category:** Support\
**Created:** [February 15, 2023, 4:59pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133 "2023-02-15T16:59:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![circlespainter](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/circlespainter/32/2894_2.png) [@circlespainter](https://community.codecov.com/u/circlespainter)\
**Post date:** [February 15, 2023, 4:59pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/1 "2023-02-15T16:59:07Z")

</div>

## Before submitting a topic, please confirm the following

I have searched for similar issues before creating this topic.  
 I have verified that my repository is using the [Codecov GitHub app](https://github.com/apps/codecov), if using GitHub  
~ I have [validated](https://docs.codecov.com/docs/codecov-yaml#validate-your-repository-yaml) my `codecov.yaml` configuration file.~ Using GH actions.  
 I have filled out the below sections to the best of my ability.

### Description

After publishing a private GH repo, it shows up as “deactivated” but I can’t find how to reactivate from the UI (i.e., it seems active). Also, uploads fail with:

```auto
[ErrorDetail(string='This repository has been deactivated. To resume uploading to it, please activate the repository in the codecov UI: https://app.codecov.io/github/dreamtimecircles/bftbench/settings', code='invalid')]

```

Re-generating and setting up again `CODECOV_TOKEN` didn’t help, nor API v1.

### CI/CD URL

[https://github.com/dreamtimecircles/bftbench/actions/runs/4183917215/jobs/7253618350](https://github.com/dreamtimecircles/bftbench/actions/runs/4183917215/jobs/7253618350)

### Codecov Output

```auto
[ErrorDetail(string='This repository has been deactivated. To resume uploading to it, please activate the repository in the codecov UI: https://app.codecov.io/github/dreamtimecircles/bftbench/settings', code='invalid')]

```

### Expected Results

Not sure why the repository was deactivated in the first place after being published, but I expected Codecov to keep working.

### Actual Results

See “Codecov output” above.

### Additional Information

None that I can think of.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 15, 2023, 6:23pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/2 "2023-02-15T18:23:41Z")

</div>

Yikes, thanks @circlespainter. This looks like a bug, we’ll push a fix for it ASAP.

---

<div class="post-metadata">

**Author:** ![circlespainter](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/circlespainter/32/2894_2.png) [@circlespainter](https://community.codecov.com/u/circlespainter)\
**Post date:** [February 15, 2023, 6:30pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/3 "2023-02-15T18:30:14Z")

</div>

Thanks @tom! Are there any workarounds available?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 15, 2023, 6:34pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/4 "2023-02-15T18:34:07Z")

</div>

@circlespainter I made a request manually on your behalf, but I’m not sure which will happen first. The request is processed or the bug is fixed. Unfortunately, that’s all I got for you right now.

---

<div class="post-metadata">

**Author:** ![circlespainter](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/circlespainter/32/2894_2.png) [@circlespainter](https://community.codecov.com/u/circlespainter)\
**Post date:** [February 15, 2023, 6:37pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/5 "2023-02-15T18:37:04Z")

</div>

I’ll add that revoking auths and re-authorizing didn’t help either. Deleting and recreating the account is also an option for me, since this is my first relevant usage; does that have any chance of working?

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 15, 2023, 6:40pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/6 "2023-02-15T18:40:07Z")

</div>

@circlespainter I’ll be honest, I’m not sure if that will resolve the issue. But I don’t think it would hurt to try.

---

<div class="post-metadata">

**Author:** ![circlespainter](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/circlespainter/32/2894_2.png) [@circlespainter](https://community.codecov.com/u/circlespainter)\
**Post date:** [February 15, 2023, 6:47pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/7 "2023-02-15T18:47:34Z")

</div>

Nope, it didn’t help. Thanks anyway, then I’ll wait for a resolution.

---

<div class="post-metadata">

**Author:** ![tom](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/tom/32/8_2.png) [@tom](https://community.codecov.com/u/tom)\
**Post date:** [February 15, 2023, 6:57pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/8 "2023-02-15T18:57:29Z")

</div>

@circlespainter ok, you should be good now!

---

<div class="post-metadata">

**Author:** ![circlespainter](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.codecov.com/circlespainter/32/2894_2.png) [@circlespainter](https://community.codecov.com/u/circlespainter)\
**Post date:** [February 15, 2023, 7:06pm UTC](https://community.codecov.com/t/cant-reactivate-repo-that-was-automatically-deactivated-when-i-made-it-public/4133/9 "2023-02-15T19:06:02Z")

</div>

Wow, that was fast… Thanks!
