diff --git a/.github/workflows/pr-status-label-new.yml b/.github/workflows/pr-status-label-new.yml index cd8f1e2f..9c13f3ca 100644 --- a/.github/workflows/pr-status-label-new.yml +++ b/.github/workflows/pr-status-label-new.yml @@ -14,7 +14,7 @@ jobs: if: github.event_name == 'pull_request_target' && github.event.action == 'opened' steps: - name: Label new PR as "status:waiting for review" - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | github.rest.issues.addLabels({ diff --git a/.github/workflows/pr-status-label-review.yml b/.github/workflows/pr-status-label-review.yml index a781cf1a..4ff1fe4b 100644 --- a/.github/workflows/pr-status-label-review.yml +++ b/.github/workflows/pr-status-label-review.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Download artifact' - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -44,7 +44,7 @@ jobs: run: unzip "${{ runner.temp }}/artifacts/review-event.zip" -d "${{ runner.temp }}/artifacts" - name: Update status labels based on review - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const fs = require('fs'); diff --git a/.github/workflows/pr-status-label-schedule.yml b/.github/workflows/pr-status-label-schedule.yml index 6b7fe198..6844b236 100644 --- a/.github/workflows/pr-status-label-schedule.yml +++ b/.github/workflows/pr-status-label-schedule.yml @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Promote approved PRs to "ready to merge" - uses: actions/github-script@v8 + uses: actions/github-script@v9 with: script: | const owner = context.repo.owner