Update update-topics.yaml

pull/25800/head
Michael Telatynski 2023-07-13 12:23:30 +01:00 committed by GitHub
parent 9856863b03
commit fe3d7f3fa9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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;