Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion services/decoration.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
BOT_USER_EMAILS = [
"dependabot[bot]@users.noreply.github.com",
"29139614+renovate[bot]@users.noreply.github.com",
"157164994+sentry-autofix[bot]@users.noreply.github.com",
]
BOT_USER_IDS = ["29139614"] # renovate[bot] github
BOT_USER_IDS = ["29139614", "157164994"] # renovate[bot] github, sentry-autofix[bot]
USER_BASIC_LIMIT_UPLOAD = 250


Expand Down
2 changes: 2 additions & 0 deletions services/tests/test_decoration.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,9 @@ def test_get_decoration_type_pr_author_manual_activation_required(
[
(True, "email", "dependabot[bot]@users.noreply.github.com"),
(True, "email", "29139614+renovate[bot]@users.noreply.github.com"),
(True, "email", "157164994+sentry-autofix[bot]@users.noreply.github.com"),
(True, "service_id", "29139614"),
(True, "service_id", "157164994"),
(False, None, None),
],
)
Expand Down
4 changes: 2 additions & 2 deletions tasks/new_user_activated.py
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

idk this was failing lint. Ruff fixed it - lgtm

Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ def run_impl(self, db_session, org_ownerid, user_ownerid, *args, **kwargs):
)

return {
"notifies_scheduled": bool(len(pulls_notified)),
"notifies_scheduled": bool(pulls_notified),
"pulls_notified": pulls_notified,
"reason": None
if len(pulls_notified)
if pulls_notified
else "no pulls/pull notifications met criteria",
}

Expand Down
Loading