We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b702a1 + 0985606 commit a92d0afCopy full SHA for a92d0af
.github/workflows/upload-to-stainless.yml
@@ -17,10 +17,8 @@ jobs:
17
uses: actions/github-script@v7
18
with:
19
script: |
20
- const octokit = github.getOctokit(process.env.GITHUB_TOKEN);
21
-
22
// Get the list of PRs merged into the current commit
23
- const { data: prs } = await octokit.rest.repos.listPullRequestsAssociatedWithCommit({
+ const { data: prs } = await github.rest.repos.listPullRequestsAssociatedWithCommit({
24
owner: context.repo.owner,
25
repo: context.repo.repo,
26
commit_sha: context.sha,
0 commit comments