Browse Source

fix: github-script

Signed-off-by: Moritz Johner <beller.moritz@googlemail.com>
Moritz Johner 4 years ago
parent
commit
b5926448b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/e2e-managed.yml

+ 1 - 1
.github/workflows/e2e-managed.yml

@@ -58,7 +58,7 @@ jobs:
       with:
         github-token: ${{ secrets.GITHUB_TOKEN }}
         script: |
-          const { data: pull } = await github.pulls.get({
+          const { data: pull } = await github.rest.pulls.get({
             ...context.repo,
             pull_number: process.env.number
           });