diff --git a/.github/workflows/scripts/apply-issue-labels-to-pr.ts b/.github/workflows/scripts/apply-issue-labels-to-pr.ts index 0993c6455f..cfcfb25981 100644 --- a/.github/workflows/scripts/apply-issue-labels-to-pr.ts +++ b/.github/workflows/scripts/apply-issue-labels-to-pr.ts @@ -1,7 +1,6 @@ const https = require("https"); async function applyLabelFromLinkedIssueToPR(pr, token) { - // Get the labels from issues linked to the PR const query = ` query GetLinkedIssues($owner: String!, $repo: String!, $prNumber: Int!) { @@ -38,7 +37,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) { headers: { "Content-Type": "application/json", "Content-Length": graphqlData.length, - "Authorization": "Bearer " + token, + Authorization: "Bearer " + token, "User-Agent": "Node.js", }, }; @@ -52,14 +51,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) { responseBody += chunk; }); response.on("end", () => { - resolve( - JSON.parse(responseBody) - ?.data - ?.repository - ?.pullRequest - ?.closingIssuesReferences - ?.nodes - ); + resolve(JSON.parse(responseBody)?.data?.repository?.pullRequest?.closingIssuesReferences?.nodes); }); }); @@ -96,7 +88,7 @@ async function applyLabelFromLinkedIssueToPR(pr, token) { headers: { "Content-Type": "application/json", "Content-Length": labelsData.length, - "Authorization": "Bearer " + token, + Authorization: "Bearer " + token, "User-Agent": "Node.js", }, }; @@ -126,11 +118,9 @@ async function applyLabelFromLinkedIssueToPR(pr, token) { console.log(`Error labelling PR: ${labelResult.message}`); continue; } - + console.log( - `Applied labels: ${labels.join(", ")} to PR #${ - pr.number - } from linked issue #${issue.number}` + `Applied labels: ${labels.join(", ")} to PR #${pr.number} from linked issue #${issue.number}` ); } } diff --git a/apps/web/package.json b/apps/web/package.json index 21ec394929..14ab7a1a12 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -1,6 +1,6 @@ { "name": "@calcom/web", - "version": "2.8.9", + "version": "2.8.10", "private": true, "scripts": { "analyze": "ANALYZE=true next build", diff --git a/apps/web/pages/team/[slug].tsx b/apps/web/pages/team/[slug].tsx index e5f1237b63..f38b1b11c4 100644 --- a/apps/web/pages/team/[slug].tsx +++ b/apps/web/pages/team/[slug].tsx @@ -56,12 +56,12 @@ function TeamPage({ team, isUnpublished }: TeamPageProps) { } const EventTypes = () => ( -