diff --git a/.github/workflows/issue_labeler.yml b/.github/workflows/issue_labeler.yml index 33442c69642..744923cfc71 100644 --- a/.github/workflows/issue_labeler.yml +++ b/.github/workflows/issue_labeler.yml @@ -23,7 +23,7 @@ jobs: issues: write steps: - name: Add labels issues automatically based on their body. - uses: actions/github-script@v8 + uses: actions/github-script@v9.0.0 with: script: | const body = context.payload.issue.body; diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index d62288c5282..843fb041039 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -45,7 +45,7 @@ jobs: # Fetch the updated PR filenames. Compute the Size Label and Arch Labels. - name: Compute PR labels - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml index f8af53e0501..26ed16441c1 100644 --- a/.github/workflows/pr_labeler.yml +++ b/.github/workflows/pr_labeler.yml @@ -38,7 +38,7 @@ jobs: steps: # Download the PR Artifact, containing PR Number and PR Labels - name: Download PR artifact - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const artifacts = await github.rest.actions.listWorkflowRunArtifacts({ @@ -64,7 +64,7 @@ jobs: # Write the PR Labels into the PR - name: Write PR labels - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: |