# "Enable Discourse code review" setting does not prevent Code Review plugin from interacting with GitHub

**URL:** https://meta.discourse.org/t/enable-discourse-code-review-setting-does-not-prevent-code-review-plugin-from-interacting-with-github/165693
**Category:** Bug
**Tags:** code-review
**Created:** [September 29, 2020, 2:10am UTC](https://meta.discourse.org/t/enable-discourse-code-review-setting-does-not-prevent-code-review-plugin-from-interacting-with-github/165693 "2020-09-29T02:10:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![meglio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meglio/32/71444_2.png) [@meglio](https://meta.discourse.org/u/meglio)
#### Post date: [September 29, 2020, 2:10am UTC](https://meta.discourse.org/t/enable-discourse-code-review-setting-does-not-prevent-code-review-plugin-from-interacting-with-github/165693/1 "2020-09-29T02:10:13Z")

</div>

Continuing the discussion from [Discourse Code Review](https://meta.discourse.org/t/discourse-code-review/103142/37):

> [@Discourse Code Review](https://meta.discourse.org/t/discourse-code-review/103142/37):
>
> The `enable Discourse code review` checkbox is OFF, but it still creates new topics for new comments in GitHub.

> [@Discourse Code Review](https://meta.discourse.org/t/discourse-code-review/103142/38):
>
> Feel free to open a topic in #Contribute > Bug for this. Seems like there’s a missing settings check somewhere.

This topic is to report a bug. I currently cannot turn off all Code Review plugin interactions with GitHub by unchecking the `enable Discourse code review` checkbox.

It is important to note that all other settings are configured, i.e. access tokens etc.

---

<div class="post-metadata">

### Author: ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)
#### Post date: [December 8, 2020, 5:40pm UTC](https://meta.discourse.org/t/enable-discourse-code-review-setting-does-not-prevent-code-review-plugin-from-interacting-with-github/165693/7 "2020-12-08T17:40:52Z")

</div>

Here is a PR that simply ignores all incoming webhook events if the plugin is disabled.  
[https://github.com/discourse/discourse-code-review/pull/39/files](https://github.com/discourse/discourse-code-review/pull/39/files)

---

<div class="post-metadata">

### Author: ![markvanlan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/markvanlan/32/160087_2.png) [@markvanlan](https://meta.discourse.org/u/markvanlan)
#### Post date: [January 13, 2021, 4:05pm UTC](https://meta.discourse.org/t/enable-discourse-code-review-setting-does-not-prevent-code-review-plugin-from-interacting-with-github/165693/8 "2021-01-13T16:05:03Z")

</div>


