diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index d2080c1..1b7e0aa 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -25,7 +25,7 @@ jobs: path: dist retention-days: 1 - name: Get PR info - uses: actions/github-script@v6.1.1 + uses: actions/github-script@v6.2.0 with: script: | var fs = require('fs'); diff --git a/.github/workflows/deploy-pull-request.yml b/.github/workflows/deploy-pull-request.yml index f0b4a24..97aba4a 100644 --- a/.github/workflows/deploy-pull-request.yml +++ b/.github/workflows/deploy-pull-request.yml @@ -17,7 +17,7 @@ jobs: # workflow_run action (https://github.com/actions/download-artifact/issues/60) # so instead we get this mess: - name: Download artifact - uses: actions/github-script@v6.1.1 + uses: actions/github-script@v6.2.0 with: script: | var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -51,7 +51,7 @@ jobs: run: unzip -d dist previewbuild.zip && rm previewbuild.zip && unzip pr.json.zip && rm pr.json.zip - name: Read PR Info id: readctx - uses: actions/github-script@v6.1.1 + uses: actions/github-script@v6.2.0 with: script: | var fs = require('fs');