From fe3d7f3fa932add20408aaaf43c8c17131c1b100 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 13 Jul 2023 12:23:30 +0100 Subject: [PATCH] Update update-topics.yaml --- .github/workflows/update-topics.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-topics.yaml b/.github/workflows/update-topics.yaml index 2704d9d539..a60eac1186 100644 --- a/.github/workflows/update-topics.yaml +++ b/.github/workflows/update-topics.yaml @@ -34,12 +34,12 @@ jobs: const { HS_URL, TOKEN, RELEASE_STATUS, LOBBY_ROOM_ID, PUBLIC_ROOM_ID, ANNOUNCEMENT_ROOM_ID } = process.env; const repo = context.repo; - const { data } = await octokit.rest.repos.getLatestRelease({ + const { data } = await github.rest.repos.getLatestRelease({ owner: repo.owner, repo: repo.repo, }); - const releaseTopic = `Stable: ${{ data.tag_name }} | ${RELEASE_STATUS}`; + const releaseTopic = `Stable: ${data.tag_name} | ${RELEASE_STATUS}`; const regex = /Stable: v(\d+.\d+.\d+) \| Release status: (\w+) expected (\w+ \d+\w+)/gm;