Skip to content

Commit

Permalink
Update LinkedIn post URL display format
Browse files Browse the repository at this point in the history
  • Loading branch information
hiroshinishio committed Dec 17, 2024
1 parent 25693ec commit f0286bd
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/post-sns.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,21 @@ jobs:
resourcePath: '/posts',
entity: {
author: 'urn:li:organization:100932100',
commentary: `🚀 New release: ${context.payload.pull_request.title}\n\n${context.payload.pull_request.html_url}`,
commentary: `🚀 New release: ${context.payload.pull_request.title}`,
visibility: 'PUBLIC',
distribution: {
feedDistribution: 'MAIN_FEED',
targetEntities: [],
thirdPartyDistributionChannels: []
},
content: {
// https://learn.microsoft.com/en-us/linkedin/marketing/integrations/ads/advertising-targeting/version/article-ads-integrations?view=li-lms-2024-11&tabs=http#workflow
article: {
source: context.payload.pull_request.html_url,
title: context.payload.pull_request.title,
description: `Check out our latest release on GitHub!`
}
},
lifecycleState: 'PUBLISHED',
isReshareDisabledByAuthor: false
},
Expand Down

0 comments on commit f0286bd

Please sign in to comment.