1
0
Fork 0
mirror of https://github.com/external-secrets/external-secrets.git synced 2024-12-15 17:51:01 +00:00

Rollback actions/github-script until we figure it out

This commit is contained in:
Lucas Severo Alves 2021-11-10 16:13:39 +01:00
parent 51a539dfb1
commit b5149d4792

View file

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