1
0
mirror of synced 2026-01-04 00:06:20 -05:00

Use built-in Actions github (#21516)

* Use built-in github

* Use built-in github
This commit is contained in:
Robert Sese
2021-09-14 15:57:11 -05:00
committed by GitHub
parent 5346285107
commit e6f1e4d866
2 changed files with 2 additions and 2 deletions

View File

@@ -47,7 +47,7 @@ jobs:
with:
script: |
const { owner, repo } = context.repo
const { data: pullRequest } = await octokit.pulls.get({
const { data: pullRequest } = await github.pulls.get({
owner,
repo,
pull_number: pullNumber

View File

@@ -50,7 +50,7 @@ jobs:
with:
script: |
const { owner, repo } = context.repo
const { data: pullRequest } = await octokit.pulls.get({
const { data: pullRequest } = await github.pulls.get({
owner,
repo,
pull_number: ${{ github.event.workflow_run.pull_requests[0].number }}