1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-07 23:02:56 +03:00

Fix badly typed output

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2024-02-02 15:58:48 +00:00
parent 7ce243110f
commit c6eda55110
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ jobs:
uses: actions/github-script@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_ID: ${{ steps.release.outputs.id }}
RELEASE_ID: ${{ steps.draft-release.outputs.id }}
DEPENDENCY: ${{ inputs.include-changes }}
VERSION: ${{ steps.draft-release.outputs.tag_name }}
with:

View File

@@ -11,7 +11,7 @@ async function getReleases(github, dependency) {
const upstreamPackageJson = getDependencyPackageJson(dep);
const [owner, repo] = upstreamPackageJson.repository.url.split("/").slice(-2);
const response = await github.request("GET /repos/{owner}/{repo}/releases?per_page={per_page}", {
const response = await github.rest.repos.listReleases({
owner,
repo,
per_page: 100,