diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 34e8918da8..4d82a2adb3 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Download PR artifact - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | const fs = require('fs'); @@ -44,7 +44,7 @@ jobs: - name: Unzip artifact run: unzip pr.zip - name: Merge PR - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: script: | const fs = require('fs'); diff --git a/.github/workflows/label_pr_on_title.yml b/.github/workflows/label_pr_on_title.yml index d2836558bc..6486a3198a 100644 --- a/.github/workflows/label_pr_on_title.yml +++ b/.github/workflows/label_pr_on_title.yml @@ -20,7 +20,7 @@ jobs: github.event.workflow_run.conclusion == 'success' }} steps: - name: 'Download artifact' - uses: actions/github-script@v5 + uses: actions/github-script@v6 # For security, we only download artifacts tied to the successful PR recording workflow with: script: | @@ -46,7 +46,7 @@ jobs: - run: unzip pr.zip - name: 'Label PR based on title' - uses: actions/github-script@v5 + uses: actions/github-script@v6 with: github-token: ${{ secrets.GITHUB_TOKEN }} # This safely runs in our base repo, not on fork