Skip to content
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

[DCJ-31] Remove Slack notifications from PR lint action #266

Merged
merged 1 commit into from
Apr 17, 2024

Conversation

okotsopoulos
Copy link
Contributor

@okotsopoulos okotsopoulos commented Apr 16, 2024

https://broadworkbench.atlassian.net/browse/DCJ-31

The Helm Chart Linter runs only on commits to PRs. Slack notifications on the outcome are unnecessary and noisy. If the action fails, the PR cannot be merged.

Current state of #jade-spam (which Data Custodian Journeys team is in the process of auditing and consolidating):
Screenshot 2024-04-16 at 6 00 46 PM

Confirming that when this PR's lint run ran and succeeded, no notification was emitted to #jade-spam.

The Helm Chart Linter runs only on commits to PRs.
Slack notifications on the outcome are unnecessary and noisy.
If the action fails, the PR cannot be merged.
Copy link
Member

@rushtong rushtong left a comment

Choose a reason for hiding this comment

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

👍🏽 We need to do this in our consent repos as well now that we have beehive slack integration

Copy link
Contributor

@fboulnois fboulnois left a comment

Choose a reason for hiding this comment

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

Looks good, I think in the future we should always tie tickets to PRs for compliance reasons (an auditor should should always be able to start with any ticket and/or PR to identify the work history / lineage).

@okotsopoulos
Copy link
Contributor Author

okotsopoulos commented Apr 17, 2024

Looks good, I think in the future we should always tie tickets to PRs for compliance reasons (an auditor should should always be able to start with any ticket and/or PR to identify the work history / lineage).

@fboulnois My understanding was that the compliance requirement applied to code which would ultimately make it into production, and removing this Slack notification on commits to PRs didn't fall into that camp. I'll look more closely at this to make sure I understand the requirement.

Either way, I can see the value to always putting a ticket and can add one (but our DCJ project currently is missing all of the elements required by compliance, Bill is working on it).

@okotsopoulos
Copy link
Contributor Author

👍🏽 We need to do this in our consent repos as well now that we have beehive slack integration

@rushtong oh yes, this is only the tip of the iceberg for TDR's notifications! It felt like low-hanging fruit to remove given that it was running errantly on commits to PRs. We have emitted many positive signal notifications in the past that I look forward to trimming.

@okotsopoulos okotsopoulos changed the title [No ticket] Remove Slack notifications from PR lint action [DCJ-31] Remove Slack notifications from PR lint action Apr 17, 2024
@okotsopoulos okotsopoulos merged commit 4e5af4b into master Apr 17, 2024
1 check passed
@okotsopoulos okotsopoulos deleted the okotsopo-linter-only-slacks-failures branch April 17, 2024 14:06
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