diff --git a/.github/workflows/action-on-PR-labeled.yml b/.github/workflows/action-on-PR-labeled.yml index 6270feeb6b52a..18b8cb7b7f73a 100644 --- a/.github/workflows/action-on-PR-labeled.yml +++ b/.github/workflows/action-on-PR-labeled.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest if: github.event.label.name == 'C-Breaking-Change' && !contains(github.event.pull_request.body, '## Migration Guide') steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | await github.rest.issues.createComment({ diff --git a/.github/workflows/ci-comment-failures.yml b/.github/workflows/ci-comment-failures.yml index 44f8a4ac32b26..6ec7f52fb90e1 100644 --- a/.github/workflows/ci-comment-failures.yml +++ b/.github/workflows/ci-comment-failures.yml @@ -23,7 +23,7 @@ jobs: steps: - name: 'Download artifact' id: find-artifact - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -50,7 +50,7 @@ jobs: if: ${{ steps.find-artifact.outputs.result == 'true' }} - name: 'Comment on PR' if: ${{ steps.find-artifact.outputs.result == 'true' }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -81,7 +81,7 @@ jobs: steps: - name: 'Download artifact' id: find-artifact - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -108,7 +108,7 @@ jobs: if: ${{ steps.find-artifact.outputs.result == 'true' }} - name: 'Comment on PR' if: ${{ steps.find-artifact.outputs.result == 'true' }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | @@ -139,7 +139,7 @@ jobs: steps: - name: 'Download artifact' id: find-artifact - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: result-encoding: string script: | @@ -166,7 +166,7 @@ jobs: if: ${{ steps.find-artifact.outputs.result == 'true' }} - name: 'Comment on PR' if: ${{ steps.find-artifact.outputs.result == 'true' }} - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: github-token: ${{ secrets.GITHUB_TOKEN }} script: | diff --git a/.github/workflows/welcome.yml b/.github/workflows/welcome.yml index 9e9f72e91e144..c3c67fab53a48 100644 --- a/.github/workflows/welcome.yml +++ b/.github/workflows/welcome.yml @@ -12,7 +12,7 @@ jobs: welcome: runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | // Get a list of all issues created by the PR opener