Merge pull request #17376 from dundargoc/ci/reviews/upgrade-to-v6

ci(reviews): upgrade github-script version to v6
This commit is contained in:
James McCoy 2022-02-12 07:09:43 -05:00 committed by GitHub
commit e126fbc971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,7 +13,7 @@ jobs:
steps: steps:
- if: github.event_name == 'workflow_run' - if: github.event_name == 'workflow_run'
name: 'Download artifact with PR number' name: 'Download artifact with PR number'
uses: actions/github-script@v5 uses: actions/github-script@v6
with: with:
script: | script: |
let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({ let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({
@ -38,7 +38,7 @@ jobs:
run: unzip pr_number.zip run: unzip pr_number.zip
- name: 'Request reviewers' - name: 'Request reviewers'
uses: actions/github-script@v5 uses: actions/github-script@v6
with: with:
script: | script: |
// The number of the pull request that triggered this run. If label // The number of the pull request that triggered this run. If label