diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 194e399f6..07e868f46 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -60,7 +60,7 @@ jobs: cat bench.txt >> $GITHUB_ENV echo 'EOF' >> $GITHUB_ENV - - uses: actions/github-script@v6 + - uses: actions/github-script@v7 with: script: | // Get the existing comments. diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index c44b09722..7c04e1667 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -39,14 +39,14 @@ jobs: - name: Normalize current versions id: current - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: return context.ref.match(/([0-9]+\.[0-9]+)\.(x|[0-9]+)/i)[1]; result-encoding: string - name: Normalize latest versions id: latest - uses: actions/github-script@v6 + uses: actions/github-script@v7 with: script: return "${{steps.latest_release.outputs.release}}".match(/([0-9]+\.[0-9]+)\.[0-9]+/i)[1]; result-encoding: string