From d377b0c45ed711552b4620bdeed273e1c3d243f9 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 22 Nov 2023 01:57:37 +0000 Subject: [PATCH] Update actions/github-script action to v7 | datasource | package | from | to | | ----------- | --------------------- | ---- | -- | | github-tags | actions/github-script | v6 | v7 | Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/benchmark.yml | 2 +- .github/workflows/docs-build.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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