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

chore: incoming webhook events #5693

Merged
merged 1 commit into from
Dec 20, 2023
Merged

Conversation

nunogois
Copy link
Member

https://linear.app/unleash/issue/2-1748/create-new-incoming-webhook-events

Adds new events for write operations on incoming webhooks and their tokens.

Copy link

vercel bot commented Dec 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Ignored Deployments
Name Status Preview Updated (UTC)
unleash-docs ⬜️ Ignored (Inspect) Dec 19, 2023 9:53pm
unleash-monorepo-frontend ⬜️ Ignored (Inspect) Dec 19, 2023 9:53pm

Copy link
Contributor

@gastonfournier gastonfournier left a comment

Choose a reason for hiding this comment

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

LG! Just a small comment

INCOMING_WEBHOOK_UPDATED,
INCOMING_WEBHOOK_DELETED,
INCOMING_WEBHOOK_TOKEN_CREATED,
INCOMING_WEBHOOK_TOKEN_UPDATED,
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you see a case where the webhook can be updated? Maybe something like GH tokens where they have an expiration date and you can regenerate the secret?

Copy link
Member Author

Choose a reason for hiding this comment

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

That's a good question. The way I see it:

  • You can update the incoming webhook by updating its enabled state (toggling them)
  • You can potentially update the token by updating its name

But no strong feelings about this. I'm also OK with not allowing updating the token names.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok! I think I was not considering the token name as a property we could change

@nunogois nunogois merged commit 1a79921 into main Dec 20, 2023
8 checks passed
@nunogois nunogois deleted the chore-incoming-webhook-events branch December 20, 2023 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants