diff --git a/.github/workflows/preview-cleanup.yml b/.github/workflows/preview-cleanup.yml index 3c24dce..c31d2eb 100644 --- a/.github/workflows/preview-cleanup.yml +++ b/.github/workflows/preview-cleanup.yml @@ -25,7 +25,7 @@ jobs: command: pages deployment delete --project-name=notify-chain-dashboard --branch=pr-${{ github.event.pull_request.number }} --yes - name: Update PR comment to mark preview removed - uses: actions/github-script@v7 + uses: actions/github-script@v9 env: PR_NUMBER: ${{ github.event.pull_request.number }} with: diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 661912c..1089af7 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -51,7 +51,7 @@ jobs: - name: Post preview URL comment if: github.event.pull_request.head.repo.full_name == github.repository && steps.deploy.outcome == 'success' - uses: actions/github-script@v7 + uses: actions/github-script@v9 env: DEPLOYMENT_URL: ${{ steps.deploy.outputs.deployment-url }} PR_NUMBER: ${{ github.event.pull_request.number }}