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

refactor: Move Slack webhooks to common module #11479

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hangy
Copy link
Member

@hangy hangy commented Feb 20, 2025

What

Moves Slack hook calls to reusable module to avoid redundant similar code. Also makes the Slack Hook URL an environment option, so that it can be kept out of source control.

@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2025

Codecov Report

Attention: Patch coverage is 43.33333% with 17 lines in your changes missing coverage. Please review.

Project coverage is 49.73%. Comparing base (081a118) to head (6532560).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
lib/ProductOpener/Slack.pm 42.85% 16 Missing ⚠️
lib/ProductOpener/Products.pm 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11479      +/-   ##
==========================================
+ Coverage   49.71%   49.73%   +0.01%     
==========================================
  Files          82       83       +1     
  Lines       22896    22913      +17     
  Branches     5492     5494       +2     
==========================================
+ Hits        11383    11396      +13     
- Misses      10124    10128       +4     
  Partials     1389     1389              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot added MongoDB We have 2 mongodb collections: one for current products, and one for obsolete products checkbot Products config labels Feb 21, 2025
@hangy hangy marked this pull request as ready for review February 22, 2025 21:28
@hangy hangy requested a review from a team as a code owner February 22, 2025 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
checkbot config MongoDB We have 2 mongodb collections: one for current products, and one for obsolete products needs deployment Products
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants