Skip to content

Commit a92d0af

Browse files
authored
Merge pull request #81 from togethercomputer/fixup-github-action-again
Try again
2 parents 1b702a1 + 0985606 commit a92d0af

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/upload-to-stainless.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ jobs:
1717
uses: actions/github-script@v7
1818
with:
1919
script: |
20-
const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
21-
2220
// Get the list of PRs merged into the current commit
23-
const { data: prs } = await octokit.rest.repos.listPullRequestsAssociatedWithCommit({
21+
const { data: prs } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
2422
owner: context.repo.owner,
2523
repo: context.repo.repo,
2624
commit_sha: context.sha,

0 commit comments

Comments
 (0)