diff --git a/.github/workflows/pr-preview.yml b/.github/workflows/pr-preview.yml index c6d3bdb..8db7987 100644 --- a/.github/workflows/pr-preview.yml +++ b/.github/workflows/pr-preview.yml @@ -44,7 +44,7 @@ jobs: - name: Get PR Information id: get-pr - uses: actions/github-script@v7 + uses: actions/github-script@v8 env: PR_NUMBER: ${{ github.event.issue.number }} with: @@ -100,7 +100,7 @@ jobs: - name: Create initial status comment id: create-comment if: steps.parse.outputs.should_run == 'true' || steps.parse.outputs.cleanup_only == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handleInitialComment } = require('./.github/workflows/preview-automation/workflow-actions.js'); @@ -108,7 +108,7 @@ jobs: - name: Update comment for pending approval if: steps.parse.outputs.should_run == 'true' || steps.parse.outputs.cleanup_only == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handlePendingApproval } = require('./.github/workflows/preview-automation/workflow-actions.js'); @@ -140,7 +140,7 @@ jobs: ref: ${{ needs.parse-comment.outputs.pr_head_sha }} - name: Update comment - preview starting - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handlePreviewStarting } = require('./.github/workflows/preview-automation/workflow-actions.js'); @@ -222,7 +222,7 @@ jobs: env: S3_URL: ${{ steps.params.outputs.s3_url }} BUCKET_NAME: ${{ steps.params.outputs.bucket_name }} - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handlePreviewSuccess } = require('./.github/workflows/preview-automation/workflow-actions.js'); @@ -230,7 +230,7 @@ jobs: - name: Update comment - preview failure if: failure() - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handlePreviewFailure } = require('./.github/workflows/preview-automation/workflow-actions.js'); @@ -292,7 +292,7 @@ jobs: - name: Comment on PR about cleanup if: steps.cleanup.outputs.cleanup_performed == 'true' - uses: actions/github-script@v7 + uses: actions/github-script@v8 env: BUCKET_NAME: ${{ steps.cleanup.outputs.bucket_name }} with: @@ -338,7 +338,7 @@ jobs: aws-region: us-east-1 - name: Update comment - cleanup starting - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handleCleanupStarting } = require('./.github/workflows/preview-automation/workflow-actions.js'); @@ -379,7 +379,7 @@ jobs: if: always() env: BUCKET_NAME: ${{ steps.cleanup.outputs.bucket_name }} - uses: actions/github-script@v7 + uses: actions/github-script@v8 with: script: | const { handleCleanupResult } = require('./.github/workflows/preview-automation/workflow-actions.js');