diff --git a/.github/workflows/build-pull-request.yml b/.github/workflows/build-pull-request.yml index 1c1ddfa..1111694 100644 --- a/.github/workflows/build-pull-request.yml +++ b/.github/workflows/build-pull-request.yml @@ -21,7 +21,7 @@ jobs: path: dist retention-days: 1 - name: Get PR info - uses: actions/github-script@v6.0.0 + uses: actions/github-script@v6.1.0 with: script: | var fs = require('fs'); diff --git a/.github/workflows/deploy-pull-request.yml b/.github/workflows/deploy-pull-request.yml index 814a344..84098f2 100644 --- a/.github/workflows/deploy-pull-request.yml +++ b/.github/workflows/deploy-pull-request.yml @@ -14,7 +14,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.0.0 + uses: actions/github-script@v6.1.0 with: script: | var artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -48,7 +48,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.0.0 + uses: actions/github-script@v6.1.0 with: script: | var fs = require('fs');