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

feat: added native slack webhook type #2050

Merged
merged 7 commits into from
Jul 4, 2024

Conversation

sheensantoscapadngan
Copy link
Member

@sheensantoscapadngan sheensantoscapadngan commented Jul 2, 2024

Description 📣

  • This PR adds slack type to project webhooks
  • This PR also modifies the secret path input in add webhook form to use latest SecretPathInput component for autocomplete support
image image image

Type ✨

  • Bug fix
  • New feature
  • Breaking change
  • Documentation

Tests 🛠️

# Here's some code block to paste some code snippets

@sheensantoscapadngan
Copy link
Member Author

TO DO:

add documentation

@sheensantoscapadngan
Copy link
Member Author

Added the folllowing to do the docs:
image

Copy link
Member

@akhilmhdh akhilmhdh left a comment

Choose a reason for hiding this comment

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

Small changes

backend/src/db/schemas/webhooks.ts Outdated Show resolved Hide resolved
backend/src/services/webhook/webhook-fns.ts Outdated Show resolved Hide resolved
@akhilmhdh
Copy link
Member

Also one more reminder.

Try a fake slack so that it fails and check the log if the url is getting printed. If so redact it for security reasons

@akhilmhdh
Copy link
Member

akhilmhdh commented Jul 3, 2024

345594544-5005ee02-2e9e-4c91-bd96-2c73f9699765

Can we also make the environment in new line

@sheensantoscapadngan
Copy link
Member Author

sheensantoscapadngan commented Jul 4, 2024

Also one more reminder.

Try a fake slack so that it fails and check the log if the url is getting printed. If so redact it for security reasons

checked this one as well @akhilmhdh. We're not logging the URL in the case of errors. In fact, we don't log anything if a webhook request fails

@sheensantoscapadngan sheensantoscapadngan merged commit b05f3e0 into main Jul 4, 2024
7 checks passed
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.

None yet

2 participants