Skip to content
Merged
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: 2 additions & 2 deletions src/github_actions/common/actions/init_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __init__(self, environment: str, args: Namespace):
super().__init__(environment)
self.cluster_provider = args.rmk_cluster_provider
self.github_token = args.github_token
self.slack_notification = getattr(args, "rmk_slack_notification", "")
self.slack_notifications = getattr(args, "rmk_slack_notifications", "")
self.slack_channel = getattr(args, "rmk_slack_channel", "")
self.slack_message_details = getattr(args, "rmk_slack_message_details", "")
self.slack_webhook = getattr(args, "rmk_slack_webhook", "")
Expand All @@ -23,7 +23,7 @@ def execute(self):
def run(self):
"""Configure Slack notifications if enabled."""
os.environ["RMK_GITHUB_TOKEN"] = self.github_token
if self.slack_notification == "true":
if self.slack_notifications == "true":
os.environ["RMK_SLACK_WEBHOOK"] = self.slack_webhook
os.environ["RMK_SLACK_CHANNEL"] = self.slack_channel

Expand Down