Skip to content

Commit

Permalink
update github-script
Browse files Browse the repository at this point in the history
  • Loading branch information
ottomated committed Jun 18, 2024
1 parent 435b267 commit 5b07816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
with:
result-encoding: string
script: |
const { data: pullRequests } = await github.pulls.list({
const { data: pullRequests } = await github.rest.pulls.list({
owner: context.repo.owner,
repo: context.repo.repo,
state: 'open',
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
with:
github-token: ${{ steps.create_token.outputs.token }}
script: |
github.issues.createComment({
await github.rest.issues.createComment({
issue_number: ${{ env.PR_NUMBER }},
owner: context.repo.owner,
repo: context.repo.repo,
Expand Down

0 comments on commit 5b07816

Please sign in to comment.