Skip to content

Commit

Permalink
github-script is broken =(
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Feb 2, 2024
1 parent 20d26db commit 7ce2431
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-drafter-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
- name: Ingest upstream changes
if: inputs.include-changes
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
RELEASE_ID: ${{ steps.release.outputs.id }}
Expand Down
2 changes: 1 addition & 1 deletion scripts/release/merge-release-notes.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.rest.repos.listReleases({
const response = await github.request("GET /repos/{owner}/{repo}/releases?per_page={per_page}", {
owner,
repo,
per_page: 100,
Expand Down

0 comments on commit 7ce2431

Please sign in to comment.