Skip to content

Commit 7f7e8da

Browse files
authored
feat!: Turn off survey link for merged/closed PRs (#299)
1 parent 9f05df6 commit 7f7e8da

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

openedx_webhooks/tasks/pr_tracking.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,10 @@ def desired_support_state(pr: PrDict) -> PrDesiredInfo:
291291
if state == "reopened":
292292
desired.bot_comments_to_remove.add(BotComment.SURVEY)
293293

294-
if state in ["closed", "merged"]:
295-
desired.bot_comments.add(BotComment.SURVEY)
294+
# # temp: Disable survey link on pull requests
295+
# # https://github.com/openedx/openedx-webhooks/issues/259
296+
# if state in ["closed", "merged"]:
297+
# desired.bot_comments.add(BotComment.SURVEY)
296298

297299
if desired.is_refused and state not in ["closed", "merged"]:
298300
desired.bot_comments.add(BotComment.NO_CONTRIBUTIONS)

0 commit comments

Comments
 (0)