Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: expose Markdown fields in webhook payload#14931

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
mtojek merged 4 commits intomainfrom14930-markdown
Oct 2, 2024
Merged

Conversation

mtojek
Copy link
Member

Fixes:#14930

Integrations with webhook handlers can render Markdown accordingly to their formatting rules. This PR adds the original (with Markdown) body and title fields to payloads.

@mtojekmtojek self-assigned thisOct 2, 2024
@@ -28,17 +28,15 @@ func TestWebhook(t *testing.T) {
t.Parallel()

const (
titleTemplate = "this is the title ({{.Labels.foo}})"
Copy link
MemberAuthor

Choose a reason for hiding this comment

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

for reviewer:

Dispatch can't render Go templates, it expects already rendered arguments.

@mtojekmtojek marked this pull request as ready for reviewOctober 2, 2024 12:38
Copy link
Contributor

@dannykoppingdannykopping left a comment

Choose a reason for hiding this comment

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

LGTM!

@mtojekmtojek merged commit0aa84b1 intomainOct 2, 2024
27 checks passed
@mtojekmtojek deleted the 14930-markdown branchOctober 2, 2024 13:38
@github-actionsgithub-actionsbot locked and limited conversation to collaboratorsOct 2, 2024
@matifali
Copy link
Member

@EdwardAngert, we need to take these docs changes intorestructure-new

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers

@dannykoppingdannykoppingdannykopping approved these changes

Assignees

@mtojekmtojek

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Notifications: expose markdown text in webhook payload
3 participants
@mtojek@matifali@dannykopping

[8]ページ先頭

©2009-2025 Movatter.jp