diff --git a/.github/workflows/auto-backport.yml b/.github/workflows/auto-backport.yml index 4fce6801ff..4f1414db6e 100644 --- a/.github/workflows/auto-backport.yml +++ b/.github/workflows/auto-backport.yml @@ -120,7 +120,7 @@ jobs: - name: Create backport PR if: steps.cherry-pick.outputs.success == 'true' - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const prNumber = context.payload.pull_request.number; @@ -192,7 +192,7 @@ jobs: - name: Comment on original PR (success) if: steps.cherry-pick.outputs.success == 'true' - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const releaseBranch = '${{ steps.find-release-branch.outputs.release_branch }}'; @@ -220,7 +220,7 @@ jobs: - name: Comment on original PR (conflicts) if: steps.cherry-pick.outputs.success == 'false' - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const releaseBranch = '${{ steps.find-release-branch.outputs.release_branch }}'; diff --git a/.github/workflows/check-label-added.yml b/.github/workflows/check-label-added.yml index e41aff3b74..5ca12471f2 100644 --- a/.github/workflows/check-label-added.yml +++ b/.github/workflows/check-label-added.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check labels - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const labels = context.payload.pull_request.labels;