diff --git a/dist/index.js b/dist/index.js index 9c49a01..974c09b 100644 --- a/dist/index.js +++ b/dist/index.js @@ -38048,6 +38048,7 @@ function commitExists(octokit, branchName, commitSha) { owner, repo, sha: branchName, + per_page: 100, }); return commits.data.some((commit) => commit.sha === commitSha); } diff --git a/find-successful-workflow.ts b/find-successful-workflow.ts index bb52bb6..788cbcc 100644 --- a/find-successful-workflow.ts +++ b/find-successful-workflow.ts @@ -259,6 +259,7 @@ async function commitExists( owner, repo, sha: branchName, + per_page: 100, }); return commits.data.some( diff --git a/package.json b/package.json index 14d3f7f..371a294 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "private": true, - "version": "4.0.3", + "version": "4.0.4", "license": "MIT", "description": "This package.json is here purely to control the version of the Action, in combination with https://github.com/JamesHenry/publish-shell-action", "scripts": {