Skip to content

Conversation

@Sanchit-100
Copy link
Contributor

Description

This PR addresses issue #12568 by updating the notify_team_new_comment.yml GitHub Actions workflow. The enhancement ensures that Slack notifications are sent only for comments made by external contributors, effectively excluding specific bot users and repository members.

Changelog

Conditional Logic Update:

Modified the if condition in the contributor_issue_comment job to exclude comments from:
Specific bots ("sentry-io[bot]", "learning-equality-bot[bot]")

Testing Done

Validated the conditional logic to ensure only external contributor comments trigger Slack notifications.

Copy link
Member

@MisRob MisRob left a comment

Choose a reason for hiding this comment

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

Thanks @Sanchit-100, this seems like the correct change to me. @rtibbles Does it look okay to you? I should be able to test it during testing #18 since that action sends us notifications with LE bot.

@MisRob MisRob requested a review from rtibbles March 11, 2025 16:29
@MisRob
Copy link
Member

MisRob commented Mar 17, 2025

I will merge @Sanchit-100 and take some time to test. Will close the issue but it's possible I will follow-up here in case some tweaks will be needed. Thanks a lot!

@MisRob MisRob merged commit 9c4cac4 into learningequality:main Mar 17, 2025
2 checks passed
@MisRob
Copy link
Member

MisRob commented Mar 18, 2025

@Sanchit-100 few first test runs done and all looks good so far

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants