Skip to content

🔧 chore: remove unused options usage #89927

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

Merged
merged 1 commit into from
Apr 21, 2025
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
4 changes: 1 addition & 3 deletions src/sentry/integrations/github_enterprise/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from sentry import options
from sentry.rules import rules

from .actions.create_ticket import GitHubEnterpriseCreateTicketAction
from .handlers import GithubEnterpriseActionHandler # noqa: F401,F403

if options.get("github-enterprise-app.alert-rule-action"):
rules.add(GitHubEnterpriseCreateTicketAction)
rules.add(GitHubEnterpriseCreateTicketAction)
10 changes: 0 additions & 10 deletions src/sentry/options/defaults.py
Original file line number Diff line number Diff line change
Expand Up @@ -612,12 +612,6 @@
register("github-app.client-secret", flags=FLAG_CREDENTIAL | FLAG_PRIORITIZE_DISK)

# Github Enterprise Integration
register(
"github-enterprise-app.alert-rule-action",
type=Bool,
default=False,
flags=FLAG_MODIFIABLE_BOOL | FLAG_AUTOMATOR_MODIFIABLE,
)
register(
"github-enterprise-app.allowed-hosts-legacy-webhooks",
type=Sequence,
Expand Down Expand Up @@ -2970,10 +2964,6 @@
flags=FLAG_AUTOMATOR_MODIFIABLE,
)

register(
"ecosystem:enable_integration_form_error_raise", default=True, flags=FLAG_AUTOMATOR_MODIFIABLE
)


# Restrict uptime issue creation for specific host provider identifiers. Items
# in this list map to the `host_provider_id` column in the UptimeSubscription
Expand Down
Loading