We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40dbb09 commit c8ddd55Copy full SHA for c8ddd55
.github/workflows/publish-package.yml
@@ -20,7 +20,7 @@ jobs:
20
uses: actions/github-script@v7
21
with:
22
script: |
23
- const permission = await github.repos.getCollaboratorPermissionLevel({
+ const permission = await github.rest.repos.getCollaboratorPermissionLevel({
24
owner: context.repo.owner,
25
repo: context.repo.repo,
26
username: context.actor
@@ -32,7 +32,7 @@ jobs:
32
if (currentBranch !== `release/${{ github.event.inputs.version }}`) {
33
core.setFailed(`Current branch ${currentBranch} does not match release/${{ github.event.inputs.version }}`);
34
}
35
- const pullRequests = await github.pulls.list({
+ const pullRequests = await github.rest.pulls.list({
36
37
38
state: 'open',
0 commit comments