Browse Source

Rollback actions/github-script until we figure it out

Lucas Severo Alves 4 years ago
parent
commit
b5149d4792
1 changed files with 2 additions and 2 deletions
  1. 2 2
      .github/workflows/e2e.yml

+ 2 - 2
.github/workflows/e2e.yml

@@ -149,7 +149,7 @@ jobs:
         make test.e2e
 
     # Update check run called "integration-fork"
-    - uses: actions/github-script@v5
+    - uses: actions/github-script@v1
       id: update-check-run
       if: ${{ always() }}
       env:
@@ -160,7 +160,7 @@ jobs:
       with:
         github-token: ${{ secrets.GITHUB_TOKEN }}
         script: |
-          const { data: pull } = await github.pull_requests.get({
+          const { data: pull } = await github.pulls.get({
             ...context.repo,
             pull_number: process.env.number
           });