diff --git a/.github/scripts/post-hackernews.js b/.github/scripts/post-hackernews.js index 0aa4e2c4..77932127 100644 --- a/.github/scripts/post-hackernews.js +++ b/.github/scripts/post-hackernews.js @@ -26,7 +26,7 @@ async function postHackerNews({ context }) { await page.waitForLoadState("networkidle"); // Submit story - const title = context.payload.pull_request.title; + const title = context.payload.pull_request.title.substring(0, 80); const description = context.payload.pull_request.body; const url = context.payload.pull_request.html_url; await page.fill('input[name="title"]', title); diff --git a/.github/scripts/post-linkedin.js b/.github/scripts/post-linkedin.js index b2b270c9..529b26b1 100644 --- a/.github/scripts/post-linkedin.js +++ b/.github/scripts/post-linkedin.js @@ -1,7 +1,7 @@ const { RestliClient } = require("linkedin-api-client"); const gitautoUrn = "urn:li:organization:100932100"; // Go to company profile page -const wesUrn = "urn:li:person:915150628"; // Go to profile page and console then search for "urn:li:member:" +const wesUrn = "urn:li:member:915150628"; // Go to profile page and console then search for "urn:li:member:" /** * @see https://learn.microsoft.com/en-us/linkedin/marketing/community-management/shares/posts-api?view=li-lms-2024-11&viewFallbackFrom=li-lms-unversioned&tabs=http