From ce10d5809948b1a178388b0aea6fd9d22963243c Mon Sep 17 00:00:00 2001 From: Marcus Notheis Date: Thu, 3 Aug 2023 17:02:58 +0200 Subject: [PATCH] pass custom octokit --- .github/createIssueCommentsForRelease.mjs | 2 +- .github/workflows/release-comments.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/createIssueCommentsForRelease.mjs b/.github/createIssueCommentsForRelease.mjs index ccfc12d65cc..24cdcb24737 100644 --- a/.github/createIssueCommentsForRelease.mjs +++ b/.github/createIssueCommentsForRelease.mjs @@ -43,5 +43,5 @@ export default async function run({ github, context }) { env: process.env }; - await issueCommenter({}, semanticReleaseContext); + await issueCommenter({}, semanticReleaseContext, { Octokit: github }); } diff --git a/.github/workflows/release-comments.yml b/.github/workflows/release-comments.yml index f5ddf857455..a874053e153 100644 --- a/.github/workflows/release-comments.yml +++ b/.github/workflows/release-comments.yml @@ -20,6 +20,8 @@ jobs: - name: Install Dependencies run: | yarn install --immutable + env: + CYPRESS_INSTALL_BINARY: 0 ### Semantic Release Bot comments for issues and PRs ### - name: Add release comments to issues and PRs